- If you have not already done so set up the
ModelSim working environment.
- Start the ModelSim software.
- Change to the directory where the ModelSim libraries are located
after they are compiled.
- To create a new work library, type the following command at the
ModelSim prompt:
vlib workModelSim compiles the design files to library work by default.
- To change the default library type the following commands at the
ModelSim prompt:
vlib< user defined library >
vmap work<user defined library >
Note: When you run the ModelSim software automatically from the Quartus® Prime Standard Edition software, your work library is automatically mapped to rtl_work for
RTL simulation and gate_work for gate level simulation. The libraries are created in the <project directory>\simulation\modelsim directory or the location you specified in the Output directory box of the
Simulation page in the Settings dialog box.