Skip to content

Commit

Permalink
Overlap constraints should not have any halos (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
harrisonliew authored Oct 29, 2022
1 parent 80f0e27 commit db628a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions par/innovus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -986,6 +986,14 @@ def generate_floorplan_tcl(self) -> List[str]:
y1=constraint.y,
y2=constraint.y + constraint.height
))
elif constraint.type == PlacementConstraintType.Overlap:
output.append("place_inst {inst} {x} {y} {orientation}{fixed}".format(
inst=new_path,
x=constraint.x,
y=constraint.y,
orientation=orientation,
fixed=" -fixed" if constraint.create_physical else ""
))
elif constraint.type in [PlacementConstraintType.HardMacro, PlacementConstraintType.Hierarchical]:
output.append("place_inst {inst} {x} {y} {orientation}{fixed}".format(
inst=new_path,
Expand Down

0 comments on commit db628a0

Please sign in to comment.