Skip to content
Snippets Groups Projects
Commit 05cfe5fe authored by BRONES Romain's avatar BRONES Romain
Browse files

fix: Change ID count register to a uint16

* Not sure, but maybe there was a sign issue there
parent 8a1df32b
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,7 @@ begin
-- Coef table, desyrdl
mm_coef_i => mm_a2l.MATRIXCOEF,
mm_coef_o => mm_l2a.MATRIXCOEF,
id_cnt_load => mm_a2l.MM_ID_CNT.data.data,
id_cnt_load => mm_a2l.MM_ID_CNT.data.data(C_W_MM_IDCNT-1 downto 0),
-- Position data in
pos_x => errbpm_x,
......
......@@ -154,7 +154,8 @@ addrmap corr_matrix {
reg {
desc="Number of ID to count for matrix multiplication.";
field {sw = rw; hw = r;} data[`C_W_MM_IDCNT] = `C_N_MM_BPM;
desyrdl_data_type="uint16";
field {sw = rw; hw = r;} data[16] = `C_N_MM_BPM;
} MM_ID_CNT;
reg {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment