Skip to content

Commit 42733a8

Browse files
committed
flow: check fixed instances at floorplan, placeable cells afterwards
Signed-off-by: Eder Monteiro <emrmonteiro@precisioninno.com>
1 parent bf3f9b3 commit 42733a8

7 files changed

Lines changed: 18 additions & 4 deletions

File tree

‎docs/user/FlowVariables.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,7 @@ configuration file.
398398
## floorplan variables
399399

400400
- [ADDITIONAL_SITES](#ADDITIONAL_SITES)
401+
- [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
401402
- [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT)
402403
- [CORE_AREA](#CORE_AREA)
403404
- [CORE_ASPECT_RATIO](#CORE_ASPECT_RATIO)

‎flow/scripts/cts.tcl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } {
7777
error "Detailed placement failed in CTS: $msg"
7878
}
7979

80-
check_placement -verbose
80+
log_cmd check_placement -placeable -verbose
8181

8282
log_cmd estimate_parasitics -placement
8383
}

‎flow/scripts/detail_place.tcl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ proc do_dpl { } {
2424
}
2525
log_cmd optimize_mirroring
2626

27-
utl::info FLW 12 "Placement violations [check_placement -verbose]."
27+
utl::info FLW 12 "Placement violations [check_placement -placeable -verbose]."
2828

2929
log_cmd estimate_parasitics -placement
3030
}

‎flow/scripts/global_route.tcl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ proc global_route_helper { } {
116116

117117
log_cmd global_route -start_incremental {*}$allow_congestion
118118
detailed_placement_helper
119-
log_cmd check_placement -verbose
119+
log_cmd check_placement -placeable -verbose
120120
# Route only the modified net by DPL
121121
if {
122122
![run_global_route_and_catch_failures -end_incremental {*}$res_aware \
@@ -166,7 +166,7 @@ proc global_route_helper { } {
166166
repair_antennas -iterations $::env(MAX_REPAIR_ANTENNAS_ITER_GRT) \
167167
{*}$allow_congestion
168168
# repair antennas calls DPL internally
169-
check_placement -verbose
169+
log_cmd check_placement -placeable -verbose
170170
check_antennas -report_file $::env(REPORTS_DIR)/grt_antennas.log
171171
}
172172

‎flow/scripts/pdn.tcl‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,17 @@ pdngen
88

99
source_step_tcl POST PDN
1010

11+
# Check fixed instances once, after pdngen since blocked layers need the PDN
12+
set_placement_padding -global \
13+
-left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \
14+
-right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT)
15+
set result [catch { log_cmd check_placement -fixed -verbose } errMsg]
16+
set_placement_padding -global -left 0 -right 0
17+
if { $result != 0 } {
18+
orfs_write_db $::env(RESULTS_DIR)/2_4_floorplan_pdn-failed.odb
19+
error $errMsg
20+
}
21+
1122
# Check all supply nets
1223
set block [ord::get_db_block]
1324
foreach net [$block getNets] {

‎flow/scripts/variables.json‎

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flow/scripts/variables.yaml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,7 @@ CELL_PAD_IN_SITES_DETAIL_PLACEMENT:
647647
Cell padding on both sides in site widths to ease routability in detail
648648
placement.
649649
stages:
650+
- floorplan
650651
- place
651652
- cts
652653
- grt

0 commit comments

Comments
 (0)