diff --git a/merge/EBeam_merge.py b/merge/EBeam_merge.py index 963a31a..c51b229 100644 --- a/merge/EBeam_merge.py +++ b/merge/EBeam_merge.py @@ -392,6 +392,10 @@ def next_position(x, y, cell_Gap_Height, cell_Gap_Width, chip_Height, cell_Heigh else: y += subcell.bbox().height() + cell_Gap_Height # move right and bottom when we reach the top of the chip + if y + cell_Height > chip_Height2: + y = cell_Height + cell_Gap_Height + x += cell_Width + cell_Gap_Width + ''' if y + cell_Height > chip_Height1 and x == 0: y = cell_Height + cell_Gap_Height x += cell_Width + cell_Gap_Width @@ -409,6 +413,7 @@ def next_position(x, y, cell_Gap_Height, cell_Gap_Width, chip_Height, cell_Heigh # Check bottom right cutout #2 for PCM if x + cell_Width > br_cutout2_x and y < br_cutout2_y: y = br_cutout2_y + ''' else: log(" - WARNING: Top cell not merged (%s)" % cell.name)