From b003e8c17eff6234e8b2d26ffd6830861c99424d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Bron=C3=A8s?= <romain.brones@synchrotron-soleil.fr> Date: Wed, 22 May 2024 09:11:34 +0200 Subject: [PATCH] Increase ID width * Allow ID up to 255 * This changes dimension of memories, registers --- hdl/pkg_corrmatrix.vhd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hdl/pkg_corrmatrix.vhd b/hdl/pkg_corrmatrix.vhd index 7854f16..6347315 100644 --- a/hdl/pkg_corrmatrix.vhd +++ b/hdl/pkg_corrmatrix.vhd @@ -29,8 +29,8 @@ package pkg_corr_matrix is constant C_W_MM_COEF : natural := 24; constant C_W_MM_MULT : natural := 48; -- C_W_OE+C_W_MM_COEF; - constant C_W_MM_IDCNT : natural := 7; -- natural(ceil(log2(real(C_N_MM_BPM)))); - constant C_W_MM_ACCU : natural := 55; -- C_W_MM_MULT+C_W_MM_IDCNT; + constant C_W_MM_IDCNT : natural := 8; -- > natural(ceil(log2(real(C_N_MM_BPM)))); + constant C_W_MM_ACCU : natural := 56; -- C_W_MM_MULT+C_W_MM_IDCNT; constant C_N_MM_SAT : natural := 0; constant C_N_MM_RND : natural := 23; -- GitLab