mirror of https://github.com/VLSIDA/OpenRAM.git
When determining bitline names, added a technology check for sky130.
This commit is contained in:
parent
e775f7a355
commit
16e658726e
|
|
@ -32,7 +32,6 @@ class spice():
|
|||
# This gets set in both spice and layout so either can be called first.
|
||||
self.name = name
|
||||
self.cell_name = cell_name
|
||||
|
||||
self.sp_file = OPTS.openram_tech + "sp_lib/" + cell_name + ".sp"
|
||||
|
||||
# If we have a separate lvs directory, then all the lvs files
|
||||
|
|
@ -570,6 +569,7 @@ class spice():
|
|||
net = net.lower()
|
||||
int_net = self.name_dict[net]['int_net']
|
||||
int_mod = self.name_dict[net]['mod']
|
||||
|
||||
if int_mod.is_net_alias(int_net, alias, alias_mod, exclusion_set):
|
||||
aliases.append(net)
|
||||
return aliases
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ class bitcell_base(design.design):
|
|||
self.nets_match = self.do_nets_exist(prop.storage_nets)
|
||||
self.mirror = prop.mirror
|
||||
self.end_caps = prop.end_caps
|
||||
|
||||
def get_stage_effort(self, load):
|
||||
parasitic_delay = 1
|
||||
# This accounts for bitline being drained
|
||||
|
|
@ -84,7 +83,7 @@ class bitcell_base(design.design):
|
|||
return self.storage_nets
|
||||
else:
|
||||
fmt_str = "Storage nodes={} not found in spice file."
|
||||
debug.info(1, fmt_str.format(self.storage_nets))
|
||||
debug.warning(fmt_str.format(self.storage_nets))
|
||||
return None
|
||||
|
||||
def get_storage_net_offset(self):
|
||||
|
|
|
|||
|
|
@ -576,6 +576,10 @@ class simulation():
|
|||
"""
|
||||
Gets the signal name associated with the bitlines in the bank.
|
||||
"""
|
||||
# FIXME: change to a solution that does not depend on the technology
|
||||
if OPTS.tech_name == 'sky130':
|
||||
cell_mod = factory.create(module_type=OPTS.bitcell, version="opt1")
|
||||
else:
|
||||
cell_mod = factory.create(module_type=OPTS.bitcell)
|
||||
cell_bl = cell_mod.get_bl_name(port)
|
||||
cell_br = cell_mod.get_br_name(port)
|
||||
|
|
|
|||
|
|
@ -239,4 +239,3 @@ class replica_column(bitcell_base_array):
|
|||
if row != self.replica_bit:
|
||||
self.graph_inst_exclude.add(cell)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue