Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Problem with nested package imports #591
The following is I believe valid System Verilog:
Yet when I attempt to compile with verilator I get an error message:
The line numbers refer respectively to the declaration of PARAM1 and PARAM2. For some reason Verilator believes that PARAM1 is a duplicate definition of PARAM2.
Please pull the test case from branch package-params at email@example.com:jeremybennett/verilator.git
Original Redmine Comment
It works if they are 'localparam' which in most usages is what they probably should be, but that's something for lint to worry about.
Simple enough. Fixed in git towards 3.844.