Issue #1664
Verilator Generates C++ code which does not compile ...
0%
Description
Verilator 4.032 2020-04-04 rev v4.030-50-gd3797ade9
@./Vfft.cpp:1344:58: error: invalid operands to binary expression ('IData *' (aka 'unsigned int *') and 'unsigned int') >> 7U) ^ ~~ ./Vfft.cpp:1351:81: error: invalid operands to binary expression ('IData *' (aka 'unsigned int *') and 'unsigned int') >> 7U)))))))) ^ ~~ ./Vfft.cpp:1363:58: error: invalid operands to binary expression ('IData *' (aka 'unsigned int *') and 'unsigned int') >> 7U) ^ ~~ ./Vfft.cpp:1370:81: error: invalid operands to binary expression ('IData *' (aka 'unsigned int *') and 'unsigned int') >> 7U)))))))) @
Find attached fft.v (I could include some under the heirarchy if it helps) and the generated VFft.v
Running verilator with -Wall does not catch any errors, but the generated C++ will not compile
History
#2 Updated by Wilson Snyder 9 months ago
Sorry, bug reporting has moved to https://github.com/verilator/verilator/issues
The "new issue" should have directed you there - do you recall how you got to the new issue on this system & I'll fix it.
If you could please refile it on github, and I'll also have a look at this within the next day or so.
Thanks
#3 Updated by Joseph Shaker 9 months ago
Wilson Snyder wrote:
Sorry, bug reporting has moved to https://github.com/verilator/verilator/issues
The "new issue" should have directed you there - do you recall how you got to the new issue on this system & I'll fix it.
If you could please refile it on github, and I'll also have a look at this within the next day or so.
Thanks
Sure, I've refiled it there. I just googled verilator bug reports and came to this page ...
Also available in: Atom