To set up a QuestaSim project with the QuestaSim GUI

  1. If you have not already done so, perform Setting Up the QuestaSim Working Environment.
  2. Launch the QuestaSim software.
  3. Change to the directory where the QuestaSim libraries are located after they are compiled.
  4. To create a new work library, type the following command at the QuestaSim prompt:
    vlib work

    QuestaSim compiles the design files to library work by default.

  5. To change the default library, type the following commands at the QuestaSim prompt:
    vlib <user defined library>     
    vmap work <user defined library> 
    

    When you run the QuestaSim software automatically from the Intel® Quartus® Prime 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.