vlib <user defined library>
vmap work <user defined library>
Note: When you run the QuestaSim software automatically from the
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.