![]() ![]()
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. #Modelsim altera path v90 downloadNext, 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |