Skip to content

Commit 31e0b05

Browse files
committed
rsz: verify debug clamp messages in repair_design_outside_core test
Enable set_debug_level RSZ buffer_clamp 1 in the test so the per-buffer clamp debug messages appear in the log and get validated against the golden file. Signed-off-by: minjukim55 <mkim@precisioninno.com>
1 parent cce72ce commit 31e0b05

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/rsz/test/repair_design_outside_core.ok

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@
1111
Iteration | Area | Resized | Buffers | Nets repaired | Remaining
1212
---------------------------------------------------------------------
1313
0 | +0.0% | 0 | 0 | 0 | 24
14+
[DEBUG RSZ-buffer_clamp] fanout1 clamped to core (51780, 1230) -> (51780, 22400)
15+
[DEBUG RSZ-buffer_clamp] fanout2 clamped to core (1780, 101230) -> (20140, 101230)
16+
[DEBUG RSZ-buffer_clamp] wire3 clamped to core (1780, 191480) -> (20140, 176400)
1417
final | +7.5% | 0 | 4 | 1 | 0
1518
---------------------------------------------------------------------
1619
[INFO RSZ-0035] Found 1 fanout violations.

src/rsz/test/repair_design_outside_core.tcl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ source Nangate45/Nangate45.rc
6161
set_wire_rc -layer metal3
6262
estimate_parasitics -placement
6363

64+
# Enable debug log so we can verify per-buffer clamp messages
65+
set_debug_level RSZ buffer_clamp 1
66+
6467
# Force fanout and wire length violations to trigger buffer insertion
6568
set_max_fanout 5 [current_design]
6669
repair_design -max_wire_length 100

0 commit comments

Comments
 (0)