Add correct boundary to SRAM

This commit is contained in:
mrg 2020-06-14 14:17:35 -07:00
parent 443c401561
commit 8e8a97cc4b
1 changed files with 3 additions and 1 deletions

View File

@ -124,6 +124,8 @@ class sram_base(design, verilog, lef):
highest_coord = self.find_highest_coords()
self.width = highest_coord[0]
self.height = highest_coord[1]
self.add_boundary(ll=vector(0, 0),
ur=vector(self.width, self.height))
start_time = datetime.datetime.now()
# We only enable final verification if we have routed the design
@ -142,7 +144,7 @@ class sram_base(design, verilog, lef):
for inst in self.insts:
self.copy_power_pins(inst, "vdd")
self.copy_power_pins(inst, "gnd")
if not OPTS.route_supplies:
# Do not route the power supply (leave as must-connect pins)
return