Skip to content

Commit 8e3798b

Browse files
cocotb ghdl sim now logs all signals to .vcd file
1 parent c4ee4cf commit 8e3798b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/COCOTB.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ async def my_first_test(dut):
136136
if args.ghdl:
137137
sim_make_args += "SIM ?= ghdl\n"
138138
sim_make_args += "EXTRA_ARGS += --std=08\n"
139+
sim_make_args += f"SIM_ARGS += --vcd={SYN.TOP_LEVEL_MODULE}.vcd\n"
139140
sim_tool_path = GET_TOOL_PATH("ghdl")
140141
if sim_tool_path is None:
141142
raise Exception("GHDL does not appear installed. ghdl not in path!")

0 commit comments

Comments
 (0)