
A finite impulse response (FIR) filtered signal is computed by applying a 5 tap FIR filter convolution to the last fed 5 input signals. Each clock period triggers a new computation as the input is shifted into the internal 5 delay element buffer. Optionally, the filter coefficients can be set by feeding them on the input in reverse order (for five clock cycles) after which a '1' on the load signal triggers a coefficient update.
See test.py. Essentially the coefficients are first fed in during 5 clock cycles after which we can perform filtering by applying inputs and receiving the filtered signal on the output. Note that a new input sample is expected and the resulting filter output is computed for every following clock cycle.
None
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | input signal (0) | output signal (0) | load signal |
| 1 | input signal (1) | output signal (1) | |
| 2 | input signal (2) | output signal (2) | |
| 3 | input signal (3) | output signal (3) | |
| 4 | input signal (4) | output signal (4) | |
| 5 | input signal (5) | output signal (5) | |
| 6 | input signal (6) | output signal (6) | |
| 7 | input signal (7) | output signal (7) |