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
"Duplicate declaration of cell" diagnostic with missing location #1381
Author Name: Al Grant
Original Assignee: Wilson Snyder (@wsnyder)
Compiling a source file with declarations but no top module:
results in an error with no location:
A diagnostic about no module definition might be reasonable, but this looks like Verilator has internally tried to do something twice that it should only do once and failed a self-check. A duplicate declaration diagnostic without locations for the declarations seems like a misdiagnosis.