Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/user/FlowVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion flow/scripts/cts.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion flow/scripts/detail_place.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions flow/scripts/global_route.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
}

Expand Down
11 changes: 11 additions & 0 deletions flow/scripts/pdn.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this needed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was inserted to follow one of the items from the MakefileContract.md file:

A step never leaves configuration for a later step. A command gets its options in its own log_cmd line; a setting it needs is set right before the call and reset right after. State that crosses steps is in the .odb or another result file. Breaks: the later step's log does not show what it ran with, and a checkpoint changes when the design did not.

In practice this is no-op.

if { $result != 0 } {
orfs_write_db $::env(RESULTS_DIR)/2_4_floorplan_pdn-failed.odb
error $errMsg
}
Comment thread
eder-matheus marked this conversation as resolved.
Resolved

# Check all supply nets
set block [ord::get_db_block]
foreach net [$block getNets] {
Expand Down
1 change: 1 addition & 0 deletions flow/scripts/variables.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions flow/scripts/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down