Closed jiegec closed 2 years ago
The particular error you are hitting in Yosys is due to the use of an old version. I believe this was fixed in https://github.com/YosysHQ/yosys/pull/2028. When using a more recent version, you'll instead get issue.v:5: ERROR: Condition for generate if is not constant!
, which is accurate because num
is not a constant in the provided example.
Thanks, it works with yosys master.
Thanks for you great project, I am able to convert fpnew to verilog and then synthesize with yosys! :smile: 🎉
SystemVerilog:
Translated:
Yosys output: