After you select the folder and library, click Compile.įor more information on using the Mentor Graphics ModelSim simulator tool, refer to Mentor Graphics ModelSim software documentation and the Mentor Graphics ModelSim and QuestaSim Support (PDF) chapter in volume 3 of the Quartus II Development Software Handbook.This ModelSim version can be found at ModelSim-Altera Software. Copy all the commands displayed in the Questa - Intel FPGA Edition or ModelSim PE or SE main window into a text file and name the file with a. As an alternative you can consider using the ModelSim-Altera version, which comes with pre-installed Altera libraries, like the alteramf. Note: You can use batch files to set up and compile each of the libraries automatically.
mif, so you have to open it in QuartusII and save as. Using the Altera Quartus II edition provided with the DE0 board you can get a free lite license both for ModelSim and Quartus II. just click on Simulate > Start Simulation > Libraries. Go to Compile, and then select Compile. If you are using Verilog you have to add the alteramf library, if you are using VHDL you have to use alteramfver library.Step 3: Compile the Library and Design File Important note: It is strongly recommended to set the Time scale to the femtosecond ps level during RAM simulation 4.1 Compile Verilog or VHDL output files and testbench files in the same way as functional simulation. Perform timing simulation with ModelSim-Altera. This step will create the library folder and map the library. 3.3 Perform functional simulation in ModelSim. Note: Repeat Step 2: Create a New Library for more libraries.
Type lpm_ver in the Library Name column, then click OK.Go to File menu, select New, and click the library.ModelSim SE/PE Software Step 2: Create a New Library