Skip to content

Commit 6ab0926

Browse files
committed
PoC: Instantiate vlog_tb_utils for vcd/heartbeat/timeout
1 parent 1c08a1e commit 6ab0926

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tests/top_tb_header.vh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,13 @@
2121
end
2222

2323
module top_tb;
24-
initial begin
25-
$dumpfile("test.vcd");
26-
$dumpvars(0, dut);
27-
end
24+
/* By instantiating vlog_tb_utils we get access to some
25+
extra functionality that can be activated by plusargs at
26+
runtime.
27+
fusesoc run --target=simple_spi_in_test TinyFPGA-Bootloader --help
28+
will list all available options. Refer to this for details
29+
*/
30+
vlog_tb_utils vtu();
2831

2932
/* Set a default name for the tap file.
3033
Doesn't necessarily have to be unique as each target

0 commit comments

Comments
 (0)