Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I'm new to Quartus and Altera-ModelSim. I'm having problems getting the complete system working. I can compile in Quartus but I can't simulate the .vho file in ModelSim. I can simulate a VHDL file in ModelSim that was NOT compiled in Quartus. Could I get a simple VHDL design file and a Testbench file that is known to work with this system. It could be as simple as an and-gate function. --- Quote End --- Hi Marlboro I am still relatively new to Quartus and Altera-ModelSim... Looking at it from the point of view of someone who has only recently picked it up. I found the easiest way to get the complete system to work, was to use quartus to create a .vht testbench template, which you can change to carry out whatever simulations you need. I am going to assume you have Altera ModelSim set up as your EDA simulation tool in settings etc. The easiest way to create a testbench is to just go to Processing>>Start>>Start Test Bench Template Writer Once this says complete, you can open the test bench template for editing in either the quartus or Model Sim text editors, add in you stimuli etc. Once you have the test bench that you are happy with, I usually go Tools>>Run EDA Simulation Tool>> EDA RTL Simulation or Tools>>Run EDA Simulation Tool>> EDA Gate Level Simulation depending on the level of simulation you want. Once ModelSim opens, just choose compile and find your .vht file When this is compiled go to simulate, and select your compiled testbench from the work library. Then add the signals you want "To Wave" and run the simulation for the required duration... This is probably a very basic way of doing things, but as I said I have just got to grips with it myself... just play around with the tools and it should all come good! Cheers, Lee H