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