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
I am unable to generate the dump.vcd waveform file when using the run function from cocotb-test.
Steps for reproduce:
1. Environment setup
cocotb-test version: 0.2.5
Python version: 3.9.16
Verilator version: 5.030
cocotb version: 1.9.2
OS: CentOS 7 2. Run the following Python code:
from cocotb_test.simulator import run
run(
verilog_sources=["path/to/your.sv"], # Replace with your Verilog source file path
simulator="verilator",
toplevel="toplevel_module_name", # Replace with your top-level module name
module="test", # Replace with your test module name
extra_args=["--trace", "--trace-structs"],
plus_args=["--trace"],
waves=True,
force_compile=False
)
Expected Behavior: The dump.vcd file should be produced in the expected output location, containing the simulation waveforms.
Actual Behavior: The simulation runs without errors, but the dump.vcd file is not generated.
Additional Notes
I also tried variations in the run configuration, such as moving "--trace-structs" from extra_args to plus_args, but the issue persists.
This issue might be related to how Verilator interacts with cocotb-test, or there could be a missing configuration step.
The text was updated successfully, but these errors were encountered:
TamirBr-H
changed the title
Unable to produce dump.vcd file using run function with Verilator.
Unable to produce dump.vcd file using run function with Verilator
Dec 1, 2024
Description
I am unable to generate the dump.vcd waveform file when using the run function from cocotb-test.
Steps for reproduce:
1. Environment setup
cocotb-test version: 0.2.5
Python version: 3.9.16
Verilator version: 5.030
cocotb version: 1.9.2
OS: CentOS 7
2. Run the following Python code:
Expected Behavior: The dump.vcd file should be produced in the expected output location, containing the simulation waveforms.
Actual Behavior: The simulation runs without errors, but the dump.vcd file is not generated.
Additional Notes
The text was updated successfully, but these errors were encountered: