You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background: When running apio test and apio sim, the iverolog command contains the macro definition -DVCD_OUTPUT=... for backward compatibly with old testbenches that use it with the function $dumpfile(). That use is not recomanded anymore (and apio emit a warning if it detects $dumpfile() in a testbench) since apio now sets that value in the vvp directly command line, eliminating a user error that will misplace the output file.
This issue is to remove the macro definition after the next apio release.
f"Warning: [{file.name}] Using $dumpfile() in apio "
$ apio test
Setting the envinronment.
Processing board alhambra-ii
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Scanning for issues.
Testbench ledon_tb.v
iverilog -g2012 -o _build/ledon_tb.out -DVCD_OUTPUT=_build/ledon_tb -DNO_ICE40_DEFAULT_ASSIGNMENTS -I"/Users/user/.apio/packages/oss-cad-suite/share/yosys/ice40" "/Users/user/.apio/packages/oss-cad-suite/share/yosys/ice40/cells_sim.v" main.v ledon_tb.v
vvp _build/ledon_tb.out -dumpfile=_build/ledon_tb.vcd
VCD info: dumpfile _build/ledon_tb.vcd opened for output.
End of simulation
ledon_tb.v:38: $finish called at 100000 (1ps)
========================================================================== [SUCCESS] Took 0.38 seconds ==========================================================================
The text was updated successfully, but these errors were encountered:
Background: When running
apio test
andapio sim
, the iverolog command contains the macro definition-DVCD_OUTPUT=...
for backward compatibly with old testbenches that use it with the function $dumpfile(). That use is not recomanded anymore (and apio emit a warning if it detects $dumpfile() in a testbench) since apio now sets that value in the vvp directly command line, eliminating a user error that will misplace the output file.This issue is to remove the macro definition after the next apio release.
Also, change the warning to a fatal error.
apio/apio/scons/plugin_util.py
Line 516 in 1398fa0
The text was updated successfully, but these errors were encountered: