Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
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.
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