Update property settings with getters/setters

This commit is contained in:
mrg
2020-11-14 08:08:42 -08:00
parent 2f994b8c0a
commit e4bc2c4914
18 changed files with 94 additions and 69 deletions
+2 -1
View File
@@ -6,6 +6,7 @@
# All rights reserved.
#
import design
from tech import cell_properties as props
from tech import spice
@@ -15,7 +16,7 @@ class dff(design.design):
"""
def __init__(self, name="dff"):
super().__init__(name)
super().__init__(name, prop=props.dff)
def analytical_power(self, corner, load):
"""Returns dynamic and leakage power. Results in nW"""