Adjusted margin for the period in elmore model

This commit is contained in:
Hunter Nichols 2021-01-11 12:53:14 -08:00
parent d8437249f7
commit 6b053c8185
1 changed files with 3 additions and 2 deletions

View File

@ -81,8 +81,9 @@ class elmore(simulation):
else:
debug.error("Measurement name not recognized: {}".format(mname), 1)
# Estimate the period as double the delay with margin
period_margin = 0.1
# Margin for error in period. Calculated by averaging required margin for a small and large
# memory. FIXME: margin is quite large, should be looked into.
period_margin = 1.85
sram_data = {"min_period": (max_delay / 1e3) * 2 * period_margin,
"leakage_power": power.leakage}