Added corner information for analytical power estimation.

This commit is contained in:
Hunter Nichols
2019-03-04 19:27:53 -08:00
parent ddeb40c9bf
commit 80a325fe32
17 changed files with 46 additions and 30 deletions
+1 -1
View File
@@ -931,7 +931,7 @@ class delay(simulation):
"""Get the dynamic and leakage power from the SRAM"""
#slews unused, only last load is used
load = loads[-1]
power = self.sram.analytical_power(self.process, self.vdd_voltage, self.temperature, load)
power = self.sram.analytical_power(self.corner, load)
#convert from nW to mW
power.dynamic /= 1e6
power.leakage /= 1e6