The control unit is responsible for the management of the FIR filter and its various
components. The PLA initializes to the idle state, and remains there until the input
enable line is asserted, notifying the control unit that new data is ready to be
filtered. The control unit then loads that data into the FIFO, clears the accumulator,
and triggers
the ROM to begin outputting filter coefficients. In sync with the ROM output, the
control unit then cycles through all 21 elements in the FIFO, and the multiply & accumulate
unit automatically produces the output coefficient. Once the output coefficient is
calculated, the FIFO is advanced by one extra element to clear space for the next
input data. Then,
the output ready line is asserted for 5 cycles, and the control unit returns to the
Idle state to wait for new input data.
This process is shown in Figure 1. |