Open spth opened 4 months ago
I believe if you replace the disable with the commented out break, sv2v supports this logic. Does that work for you?
Yes, then the code work with sv2v, but no longer with Icarus 11.
I think there are three options here:
Does the third option work around your immediate issue?
I've since refactored my design to use neither break nor disable.
Still, both are in the Verilog standard, so the right solution would be to have both 1 (this ticket) and 2 (implemented now, but currently broken https://github.com/steveicarus/iverilog/issues/1016).
Using the latest release of sv2v, I get Parse error: missing expected `end on this code: