[Cryptech-Commits] [core/math/modexp] 01/02: Killed off debug in RTL since we now whow info from TB.

git at cryptech.is git at cryptech.is
Mon Jun 22 13:15:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch perfopt
in repository core/math/modexp.

commit c74066a2a56d6fdac5d675ce4c49e8697a02f7e1
Author: Joachim Strömbergson <joachim at secworks.se>
Date:   Mon Jun 22 13:36:32 2015 +0200

    Killed off debug in RTL since we now whow info from TB.
---
 src/rtl/montprod.v | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/rtl/montprod.v b/src/rtl/montprod.v
index 45b2792..b03bf94 100644
--- a/src/rtl/montprod.v
+++ b/src/rtl/montprod.v
@@ -63,8 +63,6 @@ module montprod(
   //----------------------------------------------------------------
   // Internal constant and parameter definitions.
   //----------------------------------------------------------------
-  localparam DEBUG = 0;
-
   localparam CTRL_IDLE            = 4'h0;
   localparam CTRL_INIT_S          = 4'h1;
   localparam CTRL_WAIT            = 4'h2;
@@ -377,7 +375,6 @@ module montprod(
             else
               sa_adder_data_in = muxed_s_mem_read_data;
 
-
             if (b_reg)
               s_mem_new = add_result_sa;
             else if (q_reg)
@@ -571,8 +568,6 @@ module montprod(
 
         CTRL_EMIT_S:
            begin
-             if (DEBUG)
-               $display("EMIT_S word_index_reg: %d", word_index_reg);
              if (word_index_prev_reg == 8'h0)
                begin
                  ready_new         = 1'b1;



More information about the Commits mailing list