fix for DCI bundle size

This commit is contained in:
francescomani
2022-09-28 11:19:12 +02:00
parent a1de5e3d11
commit ae53d823e3
6 changed files with 72 additions and 97 deletions
+2 -2
View File
@@ -198,8 +198,8 @@ int cce_to_reg_interleaving(const int R, int k, int n_shift, const int C, int L,
f = k;
else {
int c = k/R;
int r = k%R;
f = (r*C + c + n_shift)%(N_regs/L);
int r = k % R;
f = (r * C + c + n_shift) % (N_regs / L);
}
return f;
}