MATALB + VHDL testbench for signal processing systems
File Setup:
- Add teh .m file to MATALB
- Add the .vhd file to Vivado, Quartus, etc/
- Make the Testbench.vhd the top simulation file.
- In the testbanch generics- edit the text file paths.
How to run the script:
- In MATLAB - run all
- When a pop-up window appears go to the HDL simulator and run the simulation.
- Once the simulation is complete go back to MATLAB and click "OK" on the pop-up box - the test will continue
Note: MATALB creates the input text file, the vhdl test bench creaates the output text file!
Once you get the script/sim running, you're more than welcome to modify the code so it suits your application :)