Verilog 2001: verilator does not issue a warning on missing 'reg', Webpack ISE 14.7 does. #1570
Original Assignee: Wilson Snyder (@wsnyder)
I used the most recent master commit of verilator to show this problem exists in the current master branch.
Take the following verilog code:
The output @Val@ should contain the keyword reg. But verilator does not agree:
@verilator -Wall -cc testmodule.v --exe test_top.cpp --trace@
gives no output: everything is fine.
Which, to my limited knowledge, is a correct error: the val should be a register.
The text was updated successfully, but these errors were encountered:
Original Redmine Comment
I am sorry for the Webpack layout, this is the first time. And I also do not know how to fix it.
The verilator command is acutally:
verilator --default-language 1364-2001 -Wall -cc testmodule.v --exe test_top.cpp --trace