diff options
author | Joachim StroĢmbergson <joachim@secworks.se> | 2015-06-16 15:57:14 +0200 |
---|---|---|
committer | Joachim StroĢmbergson <joachim@secworks.se> | 2015-06-16 15:57:14 +0200 |
commit | aa58db8cf671c6abcbc8d918bac4345d2f22d809 (patch) | |
tree | 681cbb9eaac8a479a45f4de694c7b536f334d180 /src/tb | |
parent | 6ef87307f881b52d66d7079b37ac147f5c2e902e (diff) |
Collapsing cycles for loop counter. Updating testbench to match removed cycles.
Diffstat (limited to 'src/tb')
-rw-r--r-- | src/tb/tb_montprod.v | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tb/tb_montprod.v b/src/tb/tb_montprod.v index 2cadd78..bf9333e 100644 --- a/src/tb/tb_montprod.v +++ b/src/tb/tb_montprod.v @@ -212,8 +212,8 @@ module tb_montprod(); begin $display("S[ 0 ]: %x", dut.s_mem.mem[0] ); - if (dut.s_mem_we) - $display("Write to S[0x%02x]: 0x%08x", dut.s_mem_wr_addr, dut.s_mem_new); + if (dut.s_mem_we_reg) + $display("Write to S[0x%02x]: 0x%08x", dut.s_mem_wr_addr_reg, dut.s_mem_new); end end @@ -243,8 +243,6 @@ module tb_montprod(); $display("FSM: IDLE"); dut.CTRL_INIT_S: $display("FSM: INIT_S"); - dut.CTRL_LOOP_INIT: - $display("FSM: LOOP_INIT"); dut.CTRL_LOOP_ITER: $display("FSM: LOOP_ITER"); dut.CTRL_LOOP_BQ: @@ -259,8 +257,6 @@ module tb_montprod(); $display("FSM: LOOP_CALC_SDIV2"); dut.CTRL_EMIT_S: $display("FSM: LOOP_EMIT_S"); - dut.CTRL_DONE: - $display("FSM: DONE"); default: $display("FSM: %x", dut.montprod_ctrl_new); endcase |