mirror of https://github.com/VLSIDA/OpenRAM.git
Adjusted margin for the period in elmore model
This commit is contained in:
parent
d8437249f7
commit
6b053c8185
|
|
@ -81,8 +81,9 @@ class elmore(simulation):
|
||||||
else:
|
else:
|
||||||
debug.error("Measurement name not recognized: {}".format(mname), 1)
|
debug.error("Measurement name not recognized: {}".format(mname), 1)
|
||||||
|
|
||||||
# Estimate the period as double the delay with margin
|
# Margin for error in period. Calculated by averaging required margin for a small and large
|
||||||
period_margin = 0.1
|
# memory. FIXME: margin is quite large, should be looked into.
|
||||||
|
period_margin = 1.85
|
||||||
sram_data = {"min_period": (max_delay / 1e3) * 2 * period_margin,
|
sram_data = {"min_period": (max_delay / 1e3) * 2 * period_margin,
|
||||||
"leakage_power": power.leakage}
|
"leakage_power": power.leakage}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue