diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-11-03 21:32:31 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2026-11-03 21:32:31 +0200 |
| commit | 0c6297a079795927ea2c85e884aaa57cd5a6ca30 (patch) | |
| tree | b2e98455365f9d0534e92bf3a7a6e4120a0eae8e /tb/ttarv32_tb.sv | |
| parent | b9afe2d4c22e35f2d2e65d67c07b300ba3f7ccb3 (diff) | |
| download | ttarv32-0c6297a079795927ea2c85e884aaa57cd5a6ca30.tar.gz ttarv32-0c6297a079795927ea2c85e884aaa57cd5a6ca30.zip | |
+ I also found out that iverilog does not agree with Verilator that the
testbenches work (the ones that iverilog can compile, anyway). That's
rather annoying, I'm not quite sure what the root cause is. Timing
difference in when registers are evaluated versus clock edges or
something along those lines?
Diffstat (limited to 'tb/ttarv32_tb.sv')
| -rw-r--r-- | tb/ttarv32_tb.sv | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tb/ttarv32_tb.sv b/tb/ttarv32_tb.sv index 5b30f25..9ff089d 100644 --- a/tb/ttarv32_tb.sv +++ b/tb/ttarv32_tb.sv @@ -10,7 +10,7 @@ function automatic rv_t[3:0] unp2p(logic[7:0] in[4*4]); return conversion; endfunction -xlen_t pc; +xlen_t unused_pc; logic[7:0] rv[4*4]; logic clk; @@ -23,11 +23,11 @@ ttarv32 #( .clk_i(clk), .rst_ni(rst_n), .rv_i(unp2p(rv)), - .pc_o(pc) + .pc_o(unused_pc) ); initial begin - $dumpfile("ttarv32_tb.vcd"); + $dumpfile("ttarv32_tb.fst"); $dumpvars(); $readmemh("ttarv32.hex", rv); |
