-
Notifications
You must be signed in to change notification settings - Fork 508
dpl: easier setting for using negotiation legalizer #4147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
cafcb2d
51a1e72
47eb196
86d697e
54919ca
c1cd5d2
27e66f1
05eca81
16d674a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,11 @@ 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 detailed_placement } msg] | ||
| if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } { | ||
| set result [catch { log_cmd detailed_placement -use_negotiation } msg] | ||
| } else { | ||
| set result [catch { log_cmd detailed_placement } msg] | ||
| } | ||
| if { $result != 0 } { | ||
| save_progress 4_1_error | ||
| error "Detailed placement failed in CTS: $msg" | ||
|
|
@@ -70,7 +74,11 @@ if { !$::env(SKIP_CTS_REPAIR_TIMING) } { | |
| run_lec_test 4_rsz 4_before_rsz_lec.v 4_after_rsz_lec.v | ||
| } | ||
|
|
||
| set result [catch { log_cmd detailed_placement } msg] | ||
| if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Define/document USE_NEGOTIATION to variables.yaml |
||
| set result [catch { log_cmd detailed_placement -use_negotiation } msg] | ||
| } else { | ||
| set result [catch { log_cmd detailed_placement } msg] | ||
| } | ||
| if { $result != 0 } { | ||
| save_progress 4_1_error | ||
| error "Detailed placement failed in CTS: $msg" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,7 +15,11 @@ proc do_dpl { } { | |
| set_placement_padding -global \ | ||
| -left $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) \ | ||
| -right $::env(CELL_PAD_IN_SITES_DETAIL_PLACEMENT) | ||
| log_cmd detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS] | ||
| if { [env_var_exists_and_non_empty USE_NEGOTIATION] && $::env(USE_NEGOTIATION) } { | ||
| log_cmd detailed_placement -use_negotiation {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS] | ||
| } else { | ||
| log_cmd detailed_placement {*}[env_var_or_empty DETAIL_PLACEMENT_ARGS] | ||
| } | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This logic can be simplified by using the |
||
|
|
||
| if { $::env(ENABLE_DPO) } { | ||
| if { [env_var_exists_and_non_empty DPO_MAX_DISPLACEMENT] } { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$::env(USE_NEGOTIATION) suffices