X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fprojects%2Fmontium-fft.git;a=blobdiff_plain;f=FFT.mc;fp=FFT.mc;h=330b7f5be67632df7d362477e7651dc8492ac31c;hp=6df71adcf9574508b3254204185c092ce8e12746;hb=7b57bd2ad91ccd7b8faff015adf1cbe87ddff3ea;hpb=6599667fbc3945f5a32569832a79c543aa233d44 diff --git a/FFT.mc b/FFT.mc index 6df71ad..330b7f5 100644 --- a/FFT.mc +++ b/FFT.mc @@ -179,7 +179,7 @@ INLINE void do_half_regular_stage(struct mems m, bool stage_odd, bool second_hal /* Now, do a single stage. That means N_t / 2 cycles. Since we do 2 * cycles on every iteration, plus one before and after the loop, * we will loop N_t / 4 - 1 times. */ - init_loop(LC2, (N_t / 4) - 1); + init_loop(LC2, (PARAM_N_t / 4) - 1); do { /* Write outputs of previous cycle */ write_output_regular(m, out, second_half);