Open thasti opened 4 years ago
cc @eddiehung
Currently, ifnone
is not a supported construct. A temporary workaround would be to rewrite as:
if (<condition>) (B => Z) = (...);
// ifnone (B => Z) = (0, 0);
if (!<condition>) (B => Z) = (0, 0);
I'll have a think about and discuss a more permanent solution.
Is there any script which edits "specify" blocks replacing `ifnone statement with equivalent "if" condition?
Thanks in advance!
While reading a verilog library with specify-blocks, yosys crashes on constructs such as the following:
The error message is the following, with the line number corresponding to the line containing
ifnone
.It appears to me the ifnone-condition is not modeled in the verilog parser.