From affada8d5da7426d22035360c3674ab3b3311ab5 Mon Sep 17 00:00:00 2001 From: "Pavel V. Shatov (Meister)" Date: Thu, 3 Oct 2019 16:40:25 +0300 Subject: Reworked storage architecture (moved I/O memory to a separate module, since there's only one instance of input/output values, while storage manager has dual storage space for P and Q multipliers). Started working on microcoded layer, added input operation and modular multiplication. --- rtl/modexpng_tdp_36k_x16_x32_wrapper.v | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'rtl/modexpng_tdp_36k_x16_x32_wrapper.v') diff --git a/rtl/modexpng_tdp_36k_x16_x32_wrapper.v b/rtl/modexpng_tdp_36k_x16_x32_wrapper.v index 37a5cbc..40930f3 100644 --- a/rtl/modexpng_tdp_36k_x16_x32_wrapper.v +++ b/rtl/modexpng_tdp_36k_x16_x32_wrapper.v @@ -1,4 +1,4 @@ -module modexpng_sdp_36k_x16_x32_wrapper +module modexpng_tdp_36k_x16_x32_wrapper ( clk, clk_bus, @@ -25,8 +25,8 @@ module modexpng_sdp_36k_x16_x32_wrapper input ena; input wea; input [BANK_ADDR_W + BUS_OP_ADDR_W -1:0] addra; - input [ BUD_DATA_W -1:0] dina; - output [ BUD_DATA_W -1:0] douta; + input [ BUS_DATA_W -1:0] dina; + output [ BUS_DATA_W -1:0] douta; input enb; input regceb; @@ -42,8 +42,8 @@ module modexpng_sdp_36k_x16_x32_wrapper .DEVICE ("7SERIES"), .BRAM_SIZE ("36Kb"), - .WRITE_WIDTH_A (BUD_DATA_W), - .READ_WIDTH_A (BUD_DATA_W), + .WRITE_WIDTH_A (BUS_DATA_W), + .READ_WIDTH_A (BUS_DATA_W), .WRITE_WIDTH_B (WORD_W), .READ_WIDTH_B (WORD_W), @@ -61,7 +61,7 @@ module modexpng_sdp_36k_x16_x32_wrapper .INIT_B (36'h000000000), .INIT_FILE ("NONE"), - .SIM_COLLISION_CHECK ("NONE"), + .SIM_COLLISION_CHECK ("NONE") ) BRAM_TDP_MACRO_inst ( @@ -72,9 +72,9 @@ module modexpng_sdp_36k_x16_x32_wrapper .ENA (ena), .REGCEA (1'b0), .WEA ({4{wea}}), - .ADDRA (), - .DIA (), - .DOA (), + .ADDRA (addra), + .DIA (dina), + .DOA (douta), .CLKB (clk), .ENB (enb), -- cgit v1.2.3