Forum Discussion
SyafieqS
Super Contributor
5 years agoHi Naveen,
Typically, VHDL testbench would have a bone
1. Library,package used
2. Tb Entity declaration,
3. Testbench arcitecture
I only see the procedure to read input file, no UUT, component declaration and port mapping signal. You may find below link helpful creating VHDL Tb
https://www.nandland.com/vhdl/tutorials/tutorial-your-first-vhdl-program-part2.html
Some tutorial of testbench with reading file for value of input port.
https://www.nandland.com/vhdl/examples/example-file-io.html
Below link is full flow of creating project --> HDL file create --> Tb create (using Quartus template after you compile) --> simulation flows
Generate TB using Modelsim (muc more easier)
https://www.youtube.com/watch?v=qZNL1C0TwY8
Thanks,
Regards