From ba8bec3f6794afefd75e82f8ec3e230c2f8e9fab Mon Sep 17 00:00:00 2001 From: Matt Guthaus Date: Sun, 18 Nov 2018 09:30:27 -0800 Subject: [PATCH] Two m1 pitches at top of control logic --- compiler/modules/control_logic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/modules/control_logic.py b/compiler/modules/control_logic.py index 98a2496d..d227dfce 100644 --- a/compiler/modules/control_logic.py +++ b/compiler/modules/control_logic.py @@ -195,7 +195,7 @@ class control_logic(design.design): self.control_logic_center = vector(self.ctrl_dff_inst.rx(), control_center_y) # Extra pitch on top and right - self.height = height + self.m2_pitch + self.height = height + 2*self.m1_pitch # Max of modules or logic rows if (self.port_type == "rw") or (self.port_type == "r"): self.width = max(self.rbl_inst.rx(), max([inst.rx() for inst in self.row_end_inst])) + self.m2_pitch