OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

Add progress messages to CTS for long running CTS

Open oharboe opened this issue 2 years ago • 3 comments

Description

When working with MegaBoom, CTS can take a long time(stopped after 30000s or 10 hours or so...).

To reproduce, unzip https://drive.google.com/file/d/1rgNaEOD-IP0Ae16ZSTZKyV3ZC2t-QLHd/view?usp=sharing

$ ./run-me-BoomTile-asap7-base.sh 
OpenROAD v2.0-11160-g042cdcfa4 
This program is licensed under the BSD-3 license. See the LICENSE file for details.
Components of this program may be licensed under more restrictive licenses which must be honored.
clock_tree_synthesis -root_buf BUFx4_ASAP7_75t_R -buf_list BUFx4_ASAP7_75t_R -sink_clustering_enable -sink_clustering_size 30 -sink_clustering_max_diameter 100 -balance_levels -distance_between_buffers 60
[INFO CTS-0049] Characterization buffer is: BUFx4_ASAP7_75t_R.
[deleted]

[INFO CTS-0102]  Path depth 78 - 79
[WARNING STA-0357] virtual clock clock_vir can not be propagated.
Warning: There are 380 unconstrained endpoints.

==========================================================================
cts pre-repair report_check_types -max_slew -max_cap -max_fanout -violators
--------------------------------------------------------------------------
-148.0156
-1.0903

==========================================================================
cts pre-repair report_design_area
--------------------------------------------------------------------------
Design area 4644608 u^2 20% utilization.
[INFO RSZ-0058] Using max wire length 162um.
[INFO RSZ-0047] Found 79 long wires.
[INFO RSZ-0048] Inserted 295 buffers in 79 nets.
Warning: There are 380 unconstrained endpoints.
[never completes]

Suggested Solution

Some sort of progress message to give an idea of how long it will run, or if it is hopeless and the problem needs to be fixed earlier in the flow.

Additional Context

No response

oharboe avatar Dec 01 '23 12:12 oharboe

Try repair_timing -verbose and see if that's what you want

maliberty avatar Dec 01 '23 23:12 maliberty

Try repair_timing -verbose and see if that's what you want

No effect, it churns here with no further output:

[INFO CTS-0099]  Sinks 352871
[INFO CTS-0100]  Leaf buffers 11846
[INFO CTS-0101]  Average sink wire length 8833.40 um
[INFO CTS-0102]  Path depth 78 - 79
[WARNING STA-0357] virtual clock clock_vir can not be propagated.
Warning: There are 380 unconstrained endpoints.
[no further output]

oharboe avatar Dec 02 '23 07:12 oharboe

I think is sta computing timing and CTS itself is done.

@tspyrou do you want to discuss such messages with Cherry?

maliberty avatar Dec 11 '23 21:12 maliberty