This is the last part about creating almost automatic testbench for Moving Average Filter. In the previous post I presented blocks for reading and writing. Now it is time to connect all blocks to each other in the main testbench. Testbench contains three blocks:
- block which reads data from external file,
- filter,
- block which writes output data to external file.
Testbench additionally contains clock generation and other processes which drive control and testbench signals.