Project

General

Profile

[logo] 
 
Home
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  IPC::Locker
  Parallel::Forker
  Voneline
General Info
  Papers

Issue #1664

Verilator Generates C++ code which does not compile ...

Added by Joseph Shaker 6 months ago. Updated 6 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

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

fft.v (3.13 KB) Joseph Shaker, 04/27/2020 07:31 AM

Vfft.h View (51.9 KB) Joseph Shaker, 04/27/2020 07:32 AM

Vfft.cpp View (508 KB) Joseph Shaker, 04/27/2020 07:32 AM

History

#1 Updated by Joseph Shaker 6 months ago

#2 Updated by Wilson Snyder 6 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 6 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