- #Altera quartus ii tutorial part i how to#
- #Altera quartus ii tutorial part i install#
- #Altera quartus ii tutorial part i download#
Remember that # is the comment identifier on ModelSim scripts. Be sure to include stuff that actually exists in the /eda/sim_lib directory, otherwise your compilation will fail, and that will probably make you sad for a while, but worry not, you can always try again!
You can manually type or uncomment the line of your interest inside the script. Now, as an example, in the /eda/sim_lib directory, I’ve identified the cyclone family as a potential must-include FPGA library on ModelSim, so I’ve added the following lines to the script: vlib cyclone vmap cyclone cyclone vcom -work cyclone -2002 -explicit $path_to_quartus/eda/sim_lib/cyclone_atoms.vhd vcom -work cyclone -2002 -explicit $path_to_quartus/eda/sim_lib/cyclone_components.vhd Be sure to modify the following line: path_to_quartus with the actual Quartus path you got. The script must include the exact same paths of the files you identified in the previous step. We will run this script from ModelSim’s console to compile all our libraries.
#Altera quartus ii tutorial part i download#
Next, download this handy script and open it with your favorite text editor (please, do not use notepad). vhd extension, it should be the same for Verilog files. I’m working with VHDL, so I identify all the files with. You can also compile for all the devices available. After successfully installing ModelSim you’ll need to browse the following directory path_to_quartus/eda/sim_lib and take note of its contents, you should identify the FPGA/device of your interest and take note of the exact filename because this is the library we will include in our automated script later (the extension could be either.
The main advantage of this edition is that it has all of Altera’s libraries built-in right out the box, so no need to mess with that, but if you’re out of luck (like myself) installing a Modelsim-Altera version compatible with Quartus II ver 9.1 will surely fail for whatever reason. Now, you may be aware that Altera has its own ModelSim “edition”, called ModelSim-Altera. With bonus ambiguous signal value warning.
#Altera quartus ii tutorial part i install#
This is the scenario I faced while trying to install this thing: I’m working with Altera Quartus II 9.1 Web Edition I tried installing Quartus II version 9 through 11, and version 9.1 was the only one I could get working under windows 7 (64-bit). If you’re having trouble with mentor graphics’ finest, follow this guide and you should be investing countless hours of waveform debugging in no time.
#Altera quartus ii tutorial part i how to#
This first post will be a mini guide in how to (quickly!) set up everyone’s favorite HDL simulator, ModelSim. ModelSim, nice, advanced verification, eh? I’m aware that they get the work done, but c’mon, most of them look ugly, have an awkward graphical interface and love to install the “hard way”, let’s address that right away and leave the opinions for later. If you are into hardware design, you’ll have a good grasp of the kind of tools we, hardware designers, must deal with on a daily basis.
Unfortunately, the amount of time I invest in such triviality is, more than often, just ridiculous. I frequently find myself deep in tool’s hell trying to set up a program for my engineering needs, it’s a common and necessary step in the design cycle, that’s reasonable.