mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 17:39:02 +02:00
write_driver/array: Remove hardcoded pin names
all pin names should be wrapped into a function/property. This ensures that there is exactly one place to change the name. Signed-off-by: Bastian Koppelmann <[email protected]>
This commit is contained in:
@@ -43,6 +43,14 @@ class write_driver(design.design):
|
||||
def get_br_names(self):
|
||||
return "br"
|
||||
|
||||
@property
|
||||
def din_name(self):
|
||||
return "din"
|
||||
|
||||
@property
|
||||
def en_name(self):
|
||||
return "en"
|
||||
|
||||
def get_w_en_cin(self):
|
||||
"""Get the relative capacitance of a single input"""
|
||||
# This is approximated from SCMOS. It has roughly 5 3x transistor gates.
|
||||
|
||||
Reference in New Issue
Block a user