all remaining spice for delay control

This commit is contained in:
samuelkcrow
2022-07-21 19:35:01 -07:00
parent 66502fc5dc
commit 62a65f8053
3 changed files with 51 additions and 42 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ from globals import OPTS
from sram_factory import factory
class delay_chain(design.design):
class multi_delay_chain(design.design):
"""
Generate a delay chain with the given number of stages, fanout, and output pins.
Fanout list contains the electrical effort (fanout) of each stage.
@@ -36,7 +36,7 @@ class delay_chain(design.design):
self.rows = len(self.fanout_list)
# defaults to signle output at end of delay chain
if len(self.pinout_list) == 0:
if len(pinout_list) == 0:
self.pinout_list = [self.rows] # TODO: check for off-by-one here
else:
self.pinout_list = pinout_list