Closed flaviens closed 1 year ago
Thanks for reporting this! I've pushed a fix to prevent this issue in such cases. Because it used a hierarchical identifier within a constant expression, sv2v's previous output was indeed illegal per the IEEE standards, though some tools do not impose this restriction. Please let me know if the fix works for you!
Cool thanks! (haven't tested the patch thoroughly though).
Thank you very much for you help! Flavien
Hi!
I first posted the issue in Yosys and apparently it is an sv2v issue so I open it here.
Version
sv2v v0.0.10-1-gc00f508
On which OS did this happen?
Linux
Reproduction Steps
Requires Yosys and sv2v (tested with
Yosys 0.22+29 (git sha1 12267a098, gcc 11.2.0 -fPIC -Os)
andsv2v v0.0.10-1-gc00f508
).Expected Behavior
No error related to
mulAddRecFNToRaw.clog2
.Actual Behavior
Thanks!