File tree Expand file tree Collapse file tree 1 file changed +6
-14
lines changed
Expand file tree Collapse file tree 1 file changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -17,25 +17,17 @@ set cts_args [list \
1717 -sink_clustering_enable \
1818 -balance_levels]
1919
20- if {[info exist ::env(CTS_BUF_DISTANCE)]} {
21- lappend cts_args -distance_between_buffers $::env(CTS_BUF_DISTANCE)
22- }
23-
24- if {[info exist ::env(CTS_CLUSTER_SIZE)]} {
25- lappend cts_args -sink_clustering_size $::env(CTS_CLUSTER_SIZE)
26- }
27-
28- if {[info exist ::env(CTS_CLUSTER_DIAMETER)]} {
29- lappend cts_args -sink_clustering_max_diameter $::env(CTS_CLUSTER_DIAMETER)
30- }
20+ append_env_var cts_args -distance_between_buffers CTS_BUF_DISTANCE 1
21+ append_env_var cts_args -sink_clustering_size CTS_CLUSTER_SIZE 1
22+ append_env_var cts_args -sink_clustering_max_diameter CTS_CLUSTER_DIAMETER 1
3123
32- if {[info exist ::env( CTS_ARGS) ]} {
24+ if {[env_var_exists_and_non_empty CTS_ARGS]} {
3325 set cts_args $::env(CTS_ARGS)
3426}
3527
3628log_cmd clock_tree_synthesis {*}$cts_args
3729
38- if {[info exist ::env( CTS_SNAPSHOTS) ]} {
30+ if {[env_var_equals CTS_SNAPSHOTS 1 ]} {
3931 save_progress 4_1_pre_repair_clock_nets
4032}
4133
@@ -67,7 +59,7 @@ detailed_placement
6759
6860estimate_parasitics -placement
6961
70- if {[info exist ::env( CTS_SNAPSHOTS) ]} {
62+ if {[env_var_equals CTS_SNAPSHOTS 1 ]} {
7163 save_progress 4_1_pre_repair_hold_setup
7264}
7365
You can’t perform that action at this time.
0 commit comments