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
@@ -33,7 +33,7 @@ class tri_gate(design.design):
c_para = spice["min_tx_drain_c"]
return self.cal_delay_with_rc(corner, r = r, c = c_para+load, slew = slew)
def analytical_power(self, proc, vdd, temp, load):
def analytical_power(self, corner, load):
"""Returns dynamic and leakage power. Results in nW"""
#Power in this module currently not defined. Returns 0 nW (leakage and dynamic).
total_power = self.return_power()