Skip to content

Commit

Permalink
P&R: Add option to enable/disable improve_placement
Browse files Browse the repository at this point in the history
Some designs fail on during resize script. This script runs
`detailed_placement` followed by `improve_placement` command.
I've noticed that `improve_placement` causes some cell to
either be place to close together triggering overlap warning
or they truly overlapped. I checked overlapping reports using
OpenROAD GUI interface.

Signed-off-by: Maciej Dudek <[email protected]>
  • Loading branch information
mtdudek committed Dec 14, 2023
1 parent cfe6f62 commit ccb553b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions place_and_route/build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,6 @@ place_and_route = rule(
"sink_clustering_size": attr.int(doc = "Clock tree synthesis sink group size"),
"sink_clustering_max_diameter": attr.int(doc = "Clock tree synthesis sink group desired diamater in microns"),
"min_pin_distance": attr.string(doc = "The minimum distance in microns between pins around the outside of the block."),
"enable_improve_placement": attr.bool(default=True, doc = "Enable/Disable improve_placement pass.")
},
)
2 changes: 1 addition & 1 deletion place_and_route/private/resize.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def resize(ctx, open_road_info):
),
] + placement_padding_struct.commands + [
"detailed_placement",
"improve_placement",
"improve_placement" if ctx.attr.enable_improve_placement else "",
"optimize_mirroring",
"check_placement -verbose",
"report_checks -path_delay min_max -format full_clock_expanded -fields {input_pin slew capacitance} -digits 3",
Expand Down

0 comments on commit ccb553b

Please sign in to comment.