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
If you use localparam or parameter to initialize parameters, Surelog-yosys plugin throws an error if you initialize it with a string.
The yosys parser is able to correctly interpret this. Both can interpret the parameter correctly if you initialize it with an integer.
Run with command SURELOG_CMD="-parse -DSYNTHESIS" make
Issue
If you use
localparam
orparameter
to initialize parameters, Surelog-yosys plugin throws an error if you initialize it with a string.The yosys parser is able to correctly interpret this. Both can interpret the parameter correctly if you initialize it with an integer.
Run with command
SURELOG_CMD="-parse -DSYNTHESIS" make
Code Example
This code gives the following error:
ERROR: :0: Encountered unhandled typespec in process_parameter: '' of type 'string_typespec'
The Surelog Parser does not throw an error and handles it correctly.
The text was updated successfully, but these errors were encountered: