File tree Expand file tree Collapse file tree 4 files changed +8
-7
lines changed
Expand file tree Collapse file tree 4 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -13,3 +13,4 @@ export TNS_END_PERCENT = 100
1313export EQUIVALENCE_CHECK ?= 1
1414export REMOVE_CELLS_FOR_EQY = TAPCELL*
1515export SKIP_GATE_CLONING = 1
16+ export VERILOG_TOP_PARAMS = DATA_WIDTH 8
Original file line number Diff line number Diff line change 11source $::env(SCRIPTS_DIR) /synth_preamble.tcl
2+
3+ dict for {key value} $::env(VERILOG_TOP_PARAMS) {
4+ # Apply toplevel parameters
5+ chparam -set $key $value $::env(DESIGN_NAME)
6+ }
7+
28hierarchy -check -top $::env(DESIGN_NAME)
39# Get rid of unused modules
410opt_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)
Original file line number Diff line number Diff line change @@ -658,6 +658,7 @@ VERILOG_TOP_PARAMS:
658658 Apply toplevel params (if exist).
659659 stages :
660660 - synth
661+ default : " "
661662CORE_ASPECT_RATIO :
662663 description : >
663664 The core aspect ratio (height / width). This value is ignored if
You can’t perform that action at this time.
0 commit comments