Skip to content

Commit 0e4cf42

Browse files
committed
Added catch around first detailed_placement call so that 4_1_error.odb is written
Signed-off-by: Jeff Ng <[email protected]>
1 parent edfa2be commit 0e4cf42

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

flow/scripts/cts.tcl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ utl::pop_metrics_stage
4343
set_placement_padding -global \
4444
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
4545
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
46-
detailed_placement
46+
47+
set result [catch { detailed_placement } msg]
48+
if { $result != 0 } {
49+
save_progress 4_1_error
50+
puts "Detailed placement failed in CTS: $msg"
51+
exit $result
52+
}
4753

4854
estimate_parasitics -placement
4955

0 commit comments

Comments
 (0)