Koeffizientenexport auskommentiert

This commit is contained in:
Patrick Hangl
2026-03-25 16:30:37 +01:00
parent 91e62d48e8
commit 165ed73a9a
71 changed files with 11028 additions and 11431 deletions
+4 -2
View File
@@ -280,7 +280,8 @@ void static inline update_filter_coefficients(FILE *fp, BufferPtrDMB chess_stora
// Filterkoeffizienten mit Korrekturterm*Acc-Sensor-Sample updaten - 1 Cycle
acc_w0 += fract_mult(correction, *p_x0);
acc_w1 += fract_mult(correction, *p_x1);
fprintf(fp, "%d, %d, ", rnd_saturate(acc_w0), rnd_saturate(acc_w1));
// Filterkoeffizienten in .txt-File schreiben
//fprintf(fp, "%d, %d, ", rnd_saturate(acc_w0), rnd_saturate(acc_w1));
//Beide Pointer in der Sample-Line um 2 dekrementieren
p_x0 = cyclic_add(p_x0, -2, p_xstart, sample_line_len);
p_x1 = cyclic_add(p_x1, -2, p_xstart, sample_line_len);
@@ -288,7 +289,8 @@ void static inline update_filter_coefficients(FILE *fp, BufferPtrDMB chess_stora
*((long long *)p_w0) = llcompose(rnd_saturate(acc_w0), rnd_saturate(acc_w1));//LOAD/STORE-Hazard - +1 NOP benötigt - 1 Cycle
p_w0+=2; //Koeffizienten-Pointer um 2 inkrementieren
}
fprintf(fp, "\n");
// Absatz im Filterkoeffizienten-File
//fprintf(fp, "\n");
}
void initialize_signal(