diff options
author | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2017-08-11 02:37:40 +0300 |
---|---|---|
committer | Pavel V. Shatov (Meister) <meisterpaul1@yandex.ru> | 2017-08-11 02:37:40 +0300 |
commit | d6092c84f08118c093142b7d8c6f9a332774400f (patch) | |
tree | b9c6afc20d7f5c2de6b23c1bdb86ce2a713683e8 /src/rtl/modexpa7_top.v | |
parent | e48040122cddd4374d5600b24807ef8189f1c0c2 (diff) |
CRT mode seems to work. Finally.
Strangely enough non-CRT mode continues to work fine(!). One does not simply
add a feature without breaking something else. Very suspicious...
Diffstat (limited to 'src/rtl/modexpa7_top.v')
-rw-r--r-- | src/rtl/modexpa7_top.v | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/rtl/modexpa7_top.v b/src/rtl/modexpa7_top.v index 0c4eabe..ad101dd 100644 --- a/src/rtl/modexpa7_top.v +++ b/src/rtl/modexpa7_top.v @@ -35,7 +35,7 @@ module modexpa7_top # ( parameter OPERAND_ADDR_WIDTH = 7, - parameter SYSTOLIC_ARRAY_POWER = 4 + parameter SYSTOLIC_ARRAY_POWER = 1 ) ( input clk, @@ -47,6 +47,8 @@ module modexpa7_top # input next, output valid, + input crt_mode, + input [OPERAND_ADDR_WIDTH-1:0] modulus_num_words, input [OPERAND_ADDR_WIDTH+4:0] exponent_num_bits, @@ -370,6 +372,8 @@ module modexpa7_top # .ena (exponent_ena), .rdy (exponent_rdy), + .crt (crt_mode), + .m_bram_addr (core_m_addr), .d_bram_addr (core_d_addr), .f_bram_addr (core_f_addr_rd), |