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

fix(rdl): Switch to signed representation

* Use DESYRDL specific property
parent 2cce8d21
No related branches found
No related tags found
No related merge requests found
......@@ -56,83 +56,99 @@ addrmap corr_matrix {
reg {
desc="Correction coefficient A.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1A_X;
reg {
desc="Correction coefficient B.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1B_X;
reg {
desc="Correction coefficient (inverse) C.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1IC_X;
reg {
desc="Correction coefficient D.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1D_X;
reg {
desc="Correction coefficient A.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2A_X;
reg {
desc="Correction coefficient B.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2B_X;
reg {
desc="Correction coefficient (inverse) C.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2IC_X;
reg {
desc="Correction coefficient D.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2D_X;
reg {
desc="Correction coefficient A.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1A_Y;
reg {
desc="Correction coefficient B.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1B_Y;
reg {
desc="Correction coefficient (inverse) C.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1IC_Y;
reg {
desc="Correction coefficient D.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K1D_Y;
reg {
desc="Correction coefficient A.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2A_Y;
reg {
desc="Correction coefficient B.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2B_Y;
reg {
desc="Correction coefficient (inverse) C.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2IC_Y;
reg {
desc="Correction coefficient D.";
desyrdl_data_type="int32";
field {sw = rw; hw = r;} data[`C_W_COR_COEF];
} CORR_K2D_Y;
......@@ -143,12 +159,14 @@ addrmap corr_matrix {
mem {
desc = "X Reference orbit.";
desyrdl_data_type="int32";
memwidth = 32;
mementries = 2**`C_W_MM_IDCNT;
} external REFORBITX;
mem {
desc = "Y Reference orbit.";
desyrdl_data_type="int32";
memwidth = 32;
mementries = 2**`C_W_MM_IDCNT;
} external REFORBITY;
......@@ -162,12 +180,14 @@ addrmap corr_matrix {
mem {
desc = "Matrix multiplication coefficients.";
desyrdl_data_type="int32";
memwidth = 32;
mementries = 2**`C_W_MM_IDCNT;
} external MATRIXCOEF[`C_N_MM_PSC];
mem {
desc = "X Average orbit error";
desyrdl_data_type="int32";
sw=r;
memwidth = 32;
mementries = 2**`C_W_MM_IDCNT;
......@@ -175,6 +195,7 @@ addrmap corr_matrix {
mem {
desc = "Y Average orbit error";
desyrdl_data_type="int32";
sw=r;
memwidth = 32;
mementries = 2**`C_W_MM_IDCNT;
......@@ -182,6 +203,7 @@ addrmap corr_matrix {
mem {
desc = "Average correction, both planes";
desyrdl_data_type="int32";
sw=r;
memwidth = 32;
mementries = 2**`C_W_PSCID;
......
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