aboutsummaryrefslogtreecommitdiff
path: root/src/tb
diff options
context:
space:
mode:
authorJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-24 14:22:07 +0200
committerJoachim StroĢˆmbergson <joachim@secworks.se>2015-06-24 14:22:07 +0200
commit6a5d579475e1647744999373ce2f487175869a5d (patch)
treeb1669771ab33b51be27d5f84566ad421d39c7cb9 /src/tb
parent708b71fdd50f7dd3c6851b5c47a559968767c0db (diff)
(1) Untangled the word index address generator from the product logic. (2) Updated the montprod TB to match changed FSM states in montprod.
Diffstat (limited to 'src/tb')
-rw-r--r--src/tb/tb_montprod.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tb/tb_montprod.v b/src/tb/tb_montprod.v
index 5e0a015..a162326 100644
--- a/src/tb/tb_montprod.v
+++ b/src/tb/tb_montprod.v
@@ -225,7 +225,7 @@ module tb_montprod();
begin : bq_debug
if (SHOW_BQ_DEBUG)
begin
- if (dut.montprod_ctrl_reg == dut.CTRL_L_CALC_SM)
+ if (dut.montprod_ctrl_reg == dut.CTRL_CALC_ADD)
$display("====================> B: %x Q: %x b_bit_index_reg: %x <=====================", dut.b_reg, dut.q_reg, dut.b_bit_index_reg);
end
end