mirror of https://github.com/VLSIDA/OpenRAM.git
Generalized wl names using bitcell's list_all_wl_names function to accomodate multiport
This commit is contained in:
parent
586c72e4f7
commit
0cdd3b99bf
|
|
@ -142,7 +142,8 @@ class replica_bitline(design.design):
|
||||||
temp.append("vdd")
|
temp.append("vdd")
|
||||||
temp.append("gnd")
|
temp.append("gnd")
|
||||||
self.connect_inst(temp)
|
self.connect_inst(temp)
|
||||||
#self.connect_inst(["bl[0]", "br[0]"] + ["gnd"]*self.bitcell_loads + ["vdd", "gnd"])
|
|
||||||
|
self.wl_list = self.rbl.cell.list_all_wl_names()
|
||||||
|
|
||||||
def place_modules(self):
|
def place_modules(self):
|
||||||
""" Add all of the module instances in the logical netlist """
|
""" Add all of the module instances in the logical netlist """
|
||||||
|
|
@ -174,7 +175,7 @@ class replica_bitline(design.design):
|
||||||
""" Connect the RBL word lines to gnd """
|
""" Connect the RBL word lines to gnd """
|
||||||
# Connect the WL and gnd pins directly to the center and right gnd rails
|
# Connect the WL and gnd pins directly to the center and right gnd rails
|
||||||
for row in range(self.bitcell_loads):
|
for row in range(self.bitcell_loads):
|
||||||
wl = "wl[{}]".format(row)
|
wl = self.wl_list[0]+"[{}]".format(row)
|
||||||
pin = self.rbl_inst.get_pin(wl)
|
pin = self.rbl_inst.get_pin(wl)
|
||||||
|
|
||||||
# Route the connection to the right so that it doesn't interfere
|
# Route the connection to the right so that it doesn't interfere
|
||||||
|
|
@ -385,7 +386,7 @@ class replica_bitline(design.design):
|
||||||
|
|
||||||
# Connect the WL and gnd pins directly to the center and right gnd rails
|
# Connect the WL and gnd pins directly to the center and right gnd rails
|
||||||
for row in range(self.bitcell_loads):
|
for row in range(self.bitcell_loads):
|
||||||
wl = "wl[{}]".format(row)
|
wl = self.wl_list[0]+"[{}]".format(row)
|
||||||
pin = self.rbl_inst.get_pin(wl)
|
pin = self.rbl_inst.get_pin(wl)
|
||||||
if pin.layer != "metal1":
|
if pin.layer != "metal1":
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue