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
Support SystemVerilog void casts & warn if not present #1383
Author Name: Al Grant
Original Assignee: Wilson Snyder (@wsnyder)
SystemVerilog supports casts; one use is to explicitly void a non-void function call, to avoid a lint warning:
Verilator faults this with
It would be useful if Verilator could support this simple idiom, given that functions are generally supported and this kind of voiding cast may be mandated by house style or used in the output of Verilog generators.