Altera_Forum
Honored Contributor
15 years agoIs a Test bench needed for simulation?
Hello All,
I'm new to ModelSim, so please forgive the newbieness. I followed chapter 3 of the ModelSim Tutorial pdf, and all was right in the world. However, I'm a bit confused about the testbench file in the example (tcounter.vhd). From what I understand the testbench file tells ModelSim what the inputs are doing, then ModelSim takes these inputs applies them to the counter.vhd file and spits out an output. Please tell me if I have that right. If I do have it right, could someone give me an idea where I can read about making a testbench file for a particular .vhd file. I checked the ModelSim tutorial and they only seem to discuss it for Native Link. I also checked the Intro to Quartus and that was a No Go too. I'm using the ModelSim student addition. Thanks