A GUI wizard provided as part of the AMD software can be launched to
assist in compiling the simulation libraries by typing compxlib
in the
command prompt.
For more information see the Software Manuals and specifically the Command Line Tools Reference Guide under the section titled compxlib.
Assuming the AMD and Questa Advanced Simulator environments are set up correctly, this is an example of compiling the SecureIP and UNISIMs libraries for Verilog into the current directory.
compxlib -s mti_se -arch virtex7 -l verilog -lib secureip -lib unisims -dir ./
There are many other options available for compxlib described in the Command Line Tools Reference Guide (UG628) .
Compxlib produces a questasim.ini file containing the library mappings. In Questa Advanced Simulator, to see the current library mappings, type vmap at the prompt. The mappings can be updated in the .ini file or to map a library at the Questa Advanced Simulator prompt type:
vmap [<logical_name>] [<path>]
For example:
vmap unisims_ver C:\my_unisim_lib