For each matrix multiplication result, a IIR filter based on the previous implementation is instanciated.
It is a simple IIR filter.
For each matrix multiplication result, a fixed point IIR filter is implemented.
It is a second ordrer filter.
The input and output fixed point representation are the same and its definition does only matter for the rounded output `corrout`, which is `corrout_fp` rounded by `C_W_FP` bits
Coefficient are represented as fixed points with `C_W_COR_COEF` total bits (with sign) including `C_W_COR_COEFFP` decimal bits (thus the lsb codes `2^C_W_COR_COEFFP`).
Two of these filters are chained to allow a second order filter to be synthesized.
image::corr_ll.svg[]
A simple integrate and dump over 1024 points is computed on the output. Its result is outputed when the correction is stopped.
This allow a "stop to mean" value (and not a stop tu current value).