Added initial code for determining the logical effort delay of the wordline.

This commit is contained in:
Hunter Nichols
2018-11-08 23:54:18 -08:00
parent 455ef7ef99
commit b8061d3a4e
16 changed files with 174 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
import debug
from tech import drc, parameter, spice
class logical_effort():
"""
Class to support the values behind logical effort. Useful for storing the different components
such as logical effort, electrical effort, and parasitic delay.
"""
beta = parameter["beta"]
min_inv_cin = 1+beta
def __init__(self, size, cin, cout, parasitic):
self.cin = cin
self.cout = cout
self.logical_effort = (self.cin/size)/logical_effort.min_inv_cin
self.eletrical_effort = self.cout/self.cin
self.parasitic = parasitic