![modelsim altera tutorial modelsim altera tutorial](https://edg.uchicago.edu/software/altera/quartus_tutorial/m06.png)
So let's import the hellosim.v file from our project.įrom ModelSim, in the Library window, there are, at bottom, two tabs.Ĭlick Project, then right click on the white pan to open a window menu > Add to Project > Existing File. Notice that if we had several files, we would have to import them all. Let's say this project is called HelloSim and the file inside is hellosim.v (yes it's a Verilog file, but any HDL will be correct). Oh, of course, you've to create a project in an HDL, such as Verilog for example. OK, now we've to import existing files into project.
![modelsim altera tutorial modelsim altera tutorial](https://3.bp.blogspot.com/-Yr7trQW8Dj4/Vhn029RhCEI/AAAAAAAABWU/1fzOSvAVvZw/s1600/modelsim%2Bfpga%2Bverilog%2Bsimmulation%2Btutorial%2Bbasics%2Bwireframe%2Bfpga%2B%25281%2529.png)
The timing simulation is checked only if the functional is correct.Īnother difference between functional and timing simulation is that the first is fast, the second is sure.īut to have a great design circuit both are necessary of course. In general, the functional simulation is made first. That's exactly as if you looked on a real device. The timing simulation is different because it adds a notion of time.
![modelsim altera tutorial modelsim altera tutorial](https://slidetodoc.com/presentation_image_h/7fc7da5b0c8d59bcf8aafb34edfb46b3/image-10.jpg)
That's how electrons could pass through the circuit. The functional simulation checks only if wires and gates seem correct in order to say if the circuit's design could be validated.Īctually it checks how the circuit behaves after applying inputs. There are two different types of simulation: You could use it with any HDL such as VHDL, Verilog or SystemVerilog. To be honest a simulation tool is really complex to handle, so this tutorial will be most an introduction than exhaustive examples. This is what we're going to see in this ModelSim-Altera Starter Edition introduction. After installing ModelSim-Altera Starter Edition, what's better than testing it?