Altera_Forum
Honored Contributor
13 years agoHow to connect a verilog testbench to my design in Modelsim
I'm new to Altera and this whole design process. I have created a small counter design, compiled it successfully and now I want to do a functional simulation with ModelSim. When I start RTL Simulation I only get my counter design in Modelsim so there is no testbench. I have a testbench but can't figure out how to connect it in Modelsim.
If I add the testbench file to my project in Quartus, then the design won't compile (does not like to compile a testbench). How am I supposed to do this?