Skip to content

Commit bb97187

Browse files
committed
detail route: reporting policy
If DETAILED_ROUTE_ARGS is not specified, save out progress report a few iterations after the first two iterations. The first couple of iterations would produce very large .drc reports without interesting information for the user. The idea is to have a policy that gives progress information soon without having to go spelunking in Tcl or modify configuration scripts, while not having to wait too long or generating large useless reports. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent f03b5fa commit bb97187

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

flow/scripts/detail_route.tcl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,18 @@ append additional_args " -save_guide_updates -verbose 1"
5050
# "-droute_end_iter 5" to look at routing violations after only 5 iterations,
5151
# speeding up iterations on a problem where detailed routing doesn't converge
5252
# or converges slower than expected.
53-
set arguments [expr {[info exists ::env(DETAILED_ROUTE_ARGS)] ? $::env(DETAILED_ROUTE_ARGS) : $additional_args}]
53+
#
54+
# If DETAILED_ROUTE_ARGS is not specified, save out progress report a
55+
# few iterations after the first two iterations. The first couple of
56+
# iterations would produce very large .drc reports without interesting
57+
# information for the user.
58+
#
59+
# The idea is to have a policy that gives progress information soon without
60+
# having to go spelunking in Tcl or modify configuration scripts, while
61+
# not having to wait too long or generating large useless reports.
62+
63+
set arguments [expr {[info exists ::env(DETAILED_ROUTE_ARGS)] ? $::env(DETAILED_ROUTE_ARGS) : \
64+
[concat $additional_args {-drc_report_iter_step 5}]}]
5465

5566
puts "detailed_route arguments: $arguments"
5667

0 commit comments

Comments
 (0)