Commit local changes. Forgot what the status is.

This commit is contained in:
Matt Guthaus
2018-05-11 09:15:29 -07:00
parent 875eb94a34
commit 0e35937da5
4 changed files with 59 additions and 113 deletions
+4 -2
View File
@@ -33,8 +33,10 @@ class bitcell_array(design.design):
self.add_pins()
self.create_layout()
self.add_layout_pins()
self.offset_all_coordinates()
# We don't offset this because we need to align
# the replica bitcell in the control logic
#self.offset_all_coordinates()
self.DRC_LVS()
+15 -3
View File
@@ -24,9 +24,6 @@ class replica_bitline(design.design):
g = reload(__import__(OPTS.replica_bitcell))
self.mod_replica_bitcell = getattr(g, OPTS.replica_bitcell)
c = reload(__import__(OPTS.bitcell))
self.mod_bitcell = getattr(c, OPTS.bitcell)
for pin in ["en", "out", "vdd", "gnd"]:
self.add_pin(pin)
self.bitcell_loads = bitcell_loads
@@ -137,6 +134,21 @@ class replica_bitline(design.design):
self.route_gnd()
self.route_access_tx()
def route_vdd_gnd(self):
""" Route all the vdd and gnd pins to the top level """
def route_vdd_gnd(self):
""" Propagate all vdd/gnd pins up to this level for all modules """
# These are the instances that every bank has
top_instances = [self.rbl_inst,
self.rbl_inv_inst,
self.rbc_inst,
self.dc_inst]
for inst in top_instances:
self.copy_layout_pin(inst, "vdd")
self.copy_layout_pin(inst, "gnd")
def route_access_tx(self):
# GATE ROUTE