Fix empty if removes function with side effect #3131
Labels
area: wrong runtime result
Issue involves an incorrect runtine result from Verilated model
resolution: fixed
Closed; fixed
I have following verilog:
sim_main.cpp:
compiling:
verilator --cc --build --exe valueplusarg.sv sim_main.cpp
running:
should print '5'
if I change verilog
if($value$plusargs("kuku=%d", kuku)) $display(kuku);
it picks up the kuku value ...
our verilator version is 4.110 ...
The text was updated successfully, but these errors were encountered: