Skip to content

make: do-route runs only route, like every other do-<stage> - #4811

Open
oharboe wants to merge 2 commits into
The-OpenROAD-Project:masterfrom
oharboe:do-route-only
Open

oharboe wants to merge 2 commits into
The-OpenROAD-Project:masterfrom
oharboe:do-route-only

Conversation

@oharboe

@oharboe oharboe commented Nov 9, 2026

Copy link
Copy Markdown
Collaborator

Before: do-route ran global routing and then detailed routing, while do-floorplan, do-place, do-cts and do-grt each run only their own stage.

Now: do-route runs only route (do-5_2_route do-5_3_fillcell do-5_route do-5_route.sdc), like the others, and the comment listing the supported do-<stage> targets includes do-grt.

do-route dates from before global routing was a stage of its own; do-grt was added later (4616652, "add do-grt target, congruent with gui_grt"), and do-route kept running it too. A flow that runs one stage per invocation had to call route's steps one by one to avoid redoing global routing: bazel-orfs's route stage runs do-5_2_route do-5_3_fillcell do-5_route do-5_route.sdc for that reason.

make route and the other file targets are unchanged; nothing in ORFS's docs, tests or scripts calls do-route.

Testing

asap7/gcd through cts with master's Makefile, then:

  • master, make do-route: global and detailed route.
  • this change, make do-grt then make do-route: 5_1_grt, 5_2_route, 5_3_fillcell and 5_route .odb, and 5_1_grt.sdc and 5_route.sdc, are byte-identical to master's.
  • this change, make do-route straight after cts: stops at [ERROR ORD-0007] .../5_1_grt.odb does not exist., before writing anything.

🤖 Generated with Claude Code

do-floorplan, do-place, do-cts and do-grt each run their own stage;
do-route also ran do-5_1_grt first. It predates do-grt, and was not
trimmed when do-grt was added. The comment that lists the supported
do-<stage> targets gains do-grt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates flow/Makefile to separate the global routing stage (do-grt) from the routing stage (do-route). Specifically, it removes the do-5_1_grt dependency from the do-route target and updates the documentation comments to include do-grt as a supported interface. There are no review comments, so I have no feedback to provide.

@openroad-ci

openroad-ci commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

🔍 QoR check

Metrics reflect the PR merge build — i.e. what will land on the target branch.

Commit eac6ad6 · Jenkins build #2 · Baseline: build · View build on dashboard

62 design(s) checked — 0 with regression(s), 0 without a comparable baseline.

flow/Makefile: master dropped do-5_route.sdc from do-route (every .odb
now carries its .sdc); this branch dropped do-5_1_grt. do-route keeps
both changes: do-5_2_route do-5_3_fillcell do-5_route.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants