Fixing chparam bug
Need to check if there is a param in dictionary before trying to use it...
@@ -70,12 +70,14 @@ if {$mode eq "asic"} {
# Override top level parameters
########################################################
yosys chparam -list
+ if {[dict exists $sc_cfg param]} {
dict for {key value} [dict get $sc_cfg param] {
if !{[string is integer $value]} {
set value [concat \"$value\"]
}
yosys chparam -set $key $value $topmodule
}
+ }
########################################################
# Synthesis
