Compare commits
1
Commits
11e54332fc
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b34ace91ef |
@@ -0,0 +1,24 @@
|
||||
3.1a, how do you know there are a lot of gates contained in the sram macro? would that be the only reason? You also said we need to adjust the timing path to be at least as slow as the sram. I would like clearer explanations on that.
|
||||
|
||||
The macro is 1024 words with 32 bits each, which is where my large gate count assumption came from. However, the actual timing issue is the 2.340ns delay shown in the report coming from the SRAM macro. After further thought, the large count of transistors really shouldn't be the root cause, since they shouldn't be in series. I believe the large delay likely comes from how the macro handles decoding and actually accessing the words of data in memory. Also, my timing statement was backwards and buffers/adding delay wouldn't help the way I intended it would. Lengthening the clock period would reduce the negative slack on the paths through the SRAM, since the SRAM's 2.34 ns delay uses up much of the period before the downstream logic runs.
|
||||
|
||||
3.2a, your tns proc is incorrect.
|
||||
|
||||
My procs were wrong. report_timing -collection -max_paths 1 returns only the worst path, so .slack on it is the WNS, not the TNS. My WNS proc also read .worst_delay, which is a path delay rather than a slack, which came from the fact I wrote my TNS process wrong. report_timing doesn't seems report a total, so the TNS is computed by summing the negative slacks. The corrected procs are:
|
||||
|
||||
proc sj_get_tns {} {
|
||||
set tns 0.0
|
||||
foreach s [get_db [report_timing -collection -max_paths 100000] .slack] {
|
||||
if {$s < 0} { set tns [expr {$tns + $s}] }
|
||||
}
|
||||
return $tns
|
||||
}
|
||||
|
||||
proc sj_get_wns {} {
|
||||
get_db [report_timing -collection -max_paths 1] .slack
|
||||
}
|
||||
|
||||
5a, I'm looking for what characteristic makes faster cell makes delay smaller. what physical characteristics do fast cells have? for tradeoff, think about how power and timing optimization affect each other.
|
||||
|
||||
I believe the faster cells have larger transistors, possibly associated with larger leakage current as well which would effect per watt performance. Either way, these larger transistors would be able to switch faster and drive larger currents. I also checked, and the cell size is physically larger as well: INVX4_HS is 13.33 um^2 versus 9.52 um^2 for INVX4. So the tradeoff for faster speed would be area and power.
|
||||
|
||||
Reference in New Issue
Block a user