You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yosys> help chparam
chparam [ -set name value ]... [selection]
Re-evaluate the selected modules with new parameters. String values must be
passed in double quotes (").
yosys> help hierarchy
......
-chparam name value
elaborate the top module using this parameter value. Modules on which
this parameter does not exist may cause a warning message to be output.
This option can be specified multiple times to override multiple
parameters. String values must be passed in double quotes (").
It seems Yosys is support string value parameter, and it has some issue with hierarchy -chparam
I have the
example.sv
file:and
example.sby
:I would like to set the value of
some_param
toBAR
via thescript
block.I get the following error:
ERROR: Can't decode value 'BAR'!
.I've also tried quoting the parameter value as
"BAR"
, but then I getERROR: Can't decode value '"BAR"'!
(notice the extra quotes aroundBAR
).With single quotes (
'BAR'
) I getinput:0: ERROR: Digit larger than 1 used in in base-2 constant.
.The text was updated successfully, but these errors were encountered: