From 8e8a97cc4b05b1cbe0884549d1d17d3d7ecef9f2 Mon Sep 17 00:00:00 2001 From: mrg Date: Sun, 14 Jun 2020 14:17:35 -0700 Subject: [PATCH] Add correct boundary to SRAM --- compiler/sram/sram_base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/sram/sram_base.py b/compiler/sram/sram_base.py index 8002b2f1..89ecfaaf 100644 --- a/compiler/sram/sram_base.py +++ b/compiler/sram/sram_base.py @@ -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