From aa58db8cf671c6abcbc8d918bac4345d2f22d809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Stro=CC=88mbergson?= Date: Tue, 16 Jun 2015 15:57:14 +0200 Subject: Collapsing cycles for loop counter. Updating testbench to match removed cycles. --- src/tb/tb_montprod.v | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/tb') 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 -- cgit v1.2.3