Skip to content

Commit

Permalink
Specify FST for Verilator dump
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoroze authored and sgherbst committed Nov 7, 2023
1 parent 262997f commit 98cc556
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion examples/umiram/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ def build_testbench(fast=False):
dut.add('option', option, EX_DIR / 'deps' / 'umi' / 'umi' / 'rtl')

# Settings
dut.set('option', 'trace', True) # enable VCD (TODO: FST option)
dut.set('option', 'trace', True)
dut.set('tool', 'verilator', 'task', 'compile', 'var', 'trace_type', 'fst')

result = None

Expand Down
2 changes: 1 addition & 1 deletion examples/umiram/testbench.sv
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module testbench (

initial begin
if ($test$plusargs("trace")) begin
$dumpfile("testbench.vcd");
$dumpfile("testbench.fst");
$dumpvars(0, testbench);
end
end
Expand Down

0 comments on commit 98cc556

Please sign in to comment.