File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 11source $::env(SCRIPTS_DIR) /synth_preamble.tcl
2+
3+ # Apply toplevel parameters (if exist)
4+ if {[env_var_exists_and_non_empty VERILOG_TOP_PARAMS]} {
5+ dict for {key value} $::env(VERILOG_TOP_PARAMS) {
6+ chparam -set $key $value $::env(DESIGN_NAME)
7+ }
8+ }
9+
210hierarchy -check -top $::env(DESIGN_NAME)
311# Get rid of unused modules
412opt_clean -purge
Original file line number Diff line number Diff line change @@ -44,13 +44,6 @@ foreach file $::env(VERILOG_FILES) {
4444
4545source $::env(SCRIPTS_DIR) /synth_stdcells.tcl
4646
47- # Apply toplevel parameters (if exist)
48- if {[env_var_exists_and_non_empty VERILOG_TOP_PARAMS]} {
49- dict for {key value} $::env(VERILOG_TOP_PARAMS) {
50- chparam -set $key $value $::env(DESIGN_NAME)
51- }
52- }
53-
5447# Read platform specific mapfile for OPENROAD_CLKGATE cells
5548if {[env_var_exists_and_non_empty CLKGATE_MAP_FILE]} {
5649 read_verilog -defer $::env(CLKGATE_MAP_FILE)
You can’t perform that action at this time.
0 commit comments