Skip to content

Commit

Permalink
updated max memory depth
Browse files Browse the repository at this point in the history
  • Loading branch information
Mojtaba Bisheh Niasar committed Jan 13, 2025
1 parent d01e934 commit e6f05a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mldsa_top/rtl/mldsa_params_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ package mldsa_params_pkg;
parameter COEFF_PER_CLK = 4;

//Memory interface - FIXME calculate the width based on depth not the other way
parameter MLDSA_MEM_MAX_DEPTH = 1664; //FIXME
parameter MLDSA_MEM_MAX_DEPTH = 1408; //FIXME
parameter MLDSA_MEM_DATA_WIDTH = COEFF_PER_CLK * MLDSA_Q_WIDTH;
parameter MLDSA_MEM_ADDR_WIDTH = $clog2(MLDSA_MEM_MAX_DEPTH) + 3; //+ 3 bits for bank selection

Expand Down

0 comments on commit e6f05a5

Please sign in to comment.