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 flow/designs/asap7/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ export ENABLE_DPO = 0
export TNS_END_PERCENT = 100

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/asap7/mock-alu/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ export CORNER = BC
export ROUTING_LAYER_ADJUSTMENT = 0.45

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/asap7/riscv32i/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ export CTS_CLUSTER_SIZE = 10
export CTS_CLUSTER_DIAMETER = 50

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/asap7/swerv_wrapper/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,4 @@ export PLACE_DENSITY_LB_ADDON = 0.20
export ROUTING_LAYER_ADJUSTMENT = 0.2

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/gf180/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ export CORE_UTILIZATION = 45
export PLACE_DENSITY_LB_ADDON = 0.1

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/gf180/jpeg/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export PLACE_DENSITY_LB_ADDON = 0.20
export IO_CONSTRAINTS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/io.tcl

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/gf180/riscv32i/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export PLACE_PINS_ARGS = -min_distance 5
export IO_CONSTRAINTS = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/io.tcl

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/ihp-sg13g2/gcd/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export CORE_UTILIZATION = 20
export TNS_END_PERCENT = 100

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/ihp-sg13g2/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ export TNS_END_PERCENT = 100
export CTS_BUF_DISTANCE = 60

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/ihp-sg13g2/riscv32i/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ export TNS_END_PERCENT = 100
export CTS_BUF_DISTANCE = 60

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/ihp-sg13g2/spi/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export CORE_UTILIZATION = 20
export TNS_END_PERCENT = 100

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/nangate45/aes/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ export REMOVE_CELLS_FOR_EQY = TAPCELL*
export SKIP_INCREMENTAL_REPAIR = 1

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/nangate45/bp_multi_top/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ export PLACE_DENSITY_LB_ADDON = 0.05
export SKIP_GATE_CLONING = 1

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/nangate45/dynamic_node/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ export PLACE_DENSITY_LB_ADDON = 0.20
export TNS_END_PERCENT = 100

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/nangate45/swerv_wrapper/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ export TNS_END_PERCENT = 100
export FASTROUTE_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NAME)/fastroute.tcl

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hd/aes/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ export CTS_CLUSTER_SIZE = 20
export CTS_CLUSTER_DIAMETER = 50

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hd/ibex/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ export CTS_CLUSTER_SIZE = 20
export CTS_CLUSTER_DIAMETER = 50

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hd/microwatt/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ else
endif

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hd/riscv32i/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ export PLACE_DENSITY_LB_ADDON = 0.2
export REMOVE_ABC_BUFFERS = 1

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hs/aes/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ export CTS_CLUSTER_SIZE = 10
export CTS_CLUSTER_DIAMETER = 50

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hs/jpeg/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ export CTS_CLUSTER_SIZE = 30
export CTS_CLUSTER_DIAMETER = 50

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
1 change: 1 addition & 0 deletions flow/designs/sky130hs/riscv32i/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ export FASTROUTE_TCL = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/fastroute.t
export REMOVE_ABC_BUFFERS = 1

export SWAP_ARITH_OPERATORS = 1
export OPENROAD_HIERARCHICAL = 1
9 changes: 6 additions & 3 deletions flow/scripts/util.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,13 @@ proc source_env_var_if_exists { env_var } {
# will be default and this code will be deleted.
proc hier_options { } {
if {
[env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] ||
[env_var_exists_and_non_empty SWAP_ARITH_OPERATORS] ||
$::env(OPENROAD_HIERARCHICAL)
([env_var_exists_and_non_empty SYNTH_WRAPPED_OPERATORS] ||
[env_var_exists_and_non_empty SWAP_ARITH_OPERATORS]) &&
!$::env(OPENROAD_HIERARCHICAL)
} {
error "SYNTH_WRAPPED_OPERATORS or SWAP_ARITH_OPERATORS require OPENROAD_HIERARCHICAL to be set."
}
if { $::env(OPENROAD_HIERARCHICAL) } {
return "-hier"
} else {
return ""
Expand Down