diff --git a/docs/user/FlowVariables.md b/docs/user/FlowVariables.md index ad4c27dd67..a2cc7e1222 100644 --- a/docs/user/FlowVariables.md +++ b/docs/user/FlowVariables.md @@ -398,6 +398,7 @@ configuration file. ## floorplan variables - [ADDITIONAL_SITES](#ADDITIONAL_SITES) +- [CELL_PAD_IN_SITES_DETAIL_PLACEMENT](#CELL_PAD_IN_SITES_DETAIL_PLACEMENT) - [CELL_PAD_IN_SITES_GLOBAL_PLACEMENT](#CELL_PAD_IN_SITES_GLOBAL_PLACEMENT) - [CORE_AREA](#CORE_AREA) - [CORE_ASPECT_RATIO](#CORE_ASPECT_RATIO) diff --git a/flow/scripts/cts.tcl b/flow/scripts/cts.tcl index 617eacec66..e90c6f0698 100644 --- a/flow/scripts/cts.tcl +++ b/flow/scripts/cts.tcl @@ -77,7 +77,7 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } { error "Detailed placement failed in CTS: $msg" } - check_placement -verbose + log_cmd check_placement -placeable -verbose log_cmd estimate_parasitics -placement } diff --git a/flow/scripts/detail_place.tcl b/flow/scripts/detail_place.tcl index b552218cdb..20aee94c3a 100644 --- a/flow/scripts/detail_place.tcl +++ b/flow/scripts/detail_place.tcl @@ -24,7 +24,7 @@ proc do_dpl { } { } log_cmd optimize_mirroring - utl::info FLW 12 "Placement violations [check_placement -verbose]." + utl::info FLW 12 "Placement violations [check_placement -placeable -verbose]." log_cmd estimate_parasitics -placement } diff --git a/flow/scripts/global_route.tcl b/flow/scripts/global_route.tcl index 8c824fb50d..fb9d41945f 100644 --- a/flow/scripts/global_route.tcl +++ b/flow/scripts/global_route.tcl @@ -116,7 +116,7 @@ proc global_route_helper { } { log_cmd global_route -start_incremental {*}$allow_congestion detailed_placement_helper -quiet - log_cmd check_placement -verbose + log_cmd check_placement -placeable -verbose # Route only the modified net by DPL if { ![run_global_route_and_catch_failures -end_incremental {*}$res_aware \ @@ -166,7 +166,7 @@ proc global_route_helper { } { repair_antennas -iterations $::env(MAX_REPAIR_ANTENNAS_ITER_GRT) \ {*}$allow_congestion # repair antennas calls DPL internally - check_placement -verbose + log_cmd check_placement -placeable -verbose check_antennas -report_file $::env(REPORTS_DIR)/grt_antennas.log } diff --git a/flow/scripts/pdn.tcl b/flow/scripts/pdn.tcl index 2230e05f80..1ffbadd9ba 100644 --- a/flow/scripts/pdn.tcl +++ b/flow/scripts/pdn.tcl @@ -8,6 +8,17 @@ pdngen source_step_tcl POST PDN +# Check fixed instances once, after pdngen since blocked layers need the PDN +set_placement_padding -global \ + -left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \ + -right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) +set result [catch { log_cmd check_placement -fixed -verbose } errMsg] +set_placement_padding -global -left 0 -right 0 +if { $result != 0 } { + orfs_write_db $::env(RESULTS_DIR)/2_4_floorplan_pdn-failed.odb + error $errMsg +} + # Check all supply nets set block [ord::get_db_block] foreach net [$block getNets] { diff --git a/flow/scripts/variables.json b/flow/scripts/variables.json index fd9391ddf3..be13bc8205 100644 --- a/flow/scripts/variables.json +++ b/flow/scripts/variables.json @@ -113,6 +113,7 @@ "default": 0, "description": "Cell padding on both sides in site widths to ease routability in detail placement.\n", "stages": [ + "floorplan", "place", "cts", "grt" diff --git a/flow/scripts/variables.yaml b/flow/scripts/variables.yaml index f5ad07cabb..656e242cbf 100644 --- a/flow/scripts/variables.yaml +++ b/flow/scripts/variables.yaml @@ -647,6 +647,7 @@ CELL_PAD_IN_SITES_DETAIL_PLACEMENT: Cell padding on both sides in site widths to ease routability in detail placement. stages: + - floorplan - place - cts - grt