plusarg_reader: support verilator
This commit is contained in:
parent
9eae1fa377
commit
6a7e6ab325
@ -10,13 +10,11 @@ reg [31:0] myplus;
|
||||
assign out = myplus;
|
||||
|
||||
initial begin
|
||||
`ifdef SYNTHESIS
|
||||
myplus = DEFAULT;
|
||||
`ifndef SYNTHESIS
|
||||
`ifndef verilator
|
||||
// Work-around for https://www.veripool.org/issues/1165
|
||||
`else
|
||||
if (!$value$plusargs(FORMAT, myplus)) myplus = DEFAULT;
|
||||
`endif
|
||||
`endif
|
||||
end
|
||||
|
||||
endmodule
|
||||
|
Loading…
Reference in New Issue
Block a user