mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-02 11:08:01 +02:00
Added initial code for determining the logical effort delay of the wordline.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user