Our goal was to design a Finite Impulse Response (FIR) filter, where, N represents window length (5 in our test benches), x is the vector of input data, y is the vector of output data, and h is the vector of coefficients.
Equation of FIR filter
There are 4 states in the FSM:
The expected synthesis results are shown below. The green parts are combinatorial and the blue parts are sequential
The source code is available here