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

Fix documentation for IIR filter

parent 57452dca
No related branches found
No related tags found
No related merge requests found
......@@ -34,12 +34,17 @@ image::matmult.svg[]
=== Corrector filter
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).
image::corr_iir.svg[]
// ================================================================================
== Registers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment