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
Local declarations should override package declarations from wildcard import #599
SystemVerilog requires that local declarations override package declarations, where wildcard import is used with the package (IEEE 1800-2009, section 26.3). Thus the following is valid System Verilog:
However, although this passes with VCS, it fails with Verilator, giving a duplicate declaration warning.
Please pull a patch with the testcase from branch package-param at email@example.com:jeremybennett/verilator.git.