Add boundary to every module and pgate for visual debug.

This commit is contained in:
mrg
2019-06-03 15:27:37 -07:00
parent 1268a7927b
commit fc12ea24e9
23 changed files with 35 additions and 10 deletions
+1 -5
View File
@@ -36,6 +36,7 @@ class pbitcell(design.design):
self.create_netlist()
# We must always create the bitcell layout because some transistor sizes in the other netlists depend on it
self.create_layout()
self.add_boundary()
def create_netlist(self):
self.add_pins()
@@ -260,11 +261,6 @@ class pbitcell(design.design):
self.height = self.topmost_ypos - self.botmost_ypos
self.center_ypos = 0.5*(self.topmost_ypos + self.botmost_ypos)
# Add this boundary for visual debug
self.add_rect(layer="boundary",
offset=vector(self.leftmost_xpos,self.botmost_ypos),
height=self.height,
width=self.width)
def create_storage(self):
"""