Two m1 pitches at top of control logic

This commit is contained in:
Matt Guthaus 2018-11-18 09:30:27 -08:00
parent c677efa217
commit ba8bec3f67
1 changed files with 1 additions and 1 deletions

View File

@ -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