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/rv2insn_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/rv2insn_tb.sv')
| -rw-r--r-- | tb/rv2insn_tb.sv | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tb/rv2insn_tb.sv b/tb/rv2insn_tb.sv index 14a0249..243a215 100644 --- a/tb/rv2insn_tb.sv +++ b/tb/rv2insn_tb.sv @@ -7,7 +7,9 @@ logic rst_n; xlen_t pc; logic[7:0] rv[4*4]; -insn_t[3:0] que; +insn_t[3:0] unused_que; + +assign pc = '0; function automatic rv_t[3:0] unp2p(logic[7:0] in[4*4]); logic [15:0][7:0] conversion; @@ -25,11 +27,11 @@ rv2insn #( .rst_ni(rst_n), .pc_i(pc), .rv_i(unp2p(rv)), - .que_o(que) + .que_o(unused_que) ); initial begin - $dumpfile("rv2insn_tb.vcd"); + $dumpfile("rv2insn_tb.fst"); $dumpvars(); $readmemh("rv2insn.hex", rv); |
