![]()
You can compile Verilog HDL and VHDL simulation libraries for all Altera devices for use with supported third-party simulation tools. This procedure does not replace compilation procedures for individual simulation tools, but provides an alternative for compiling a standard set of simulation libraries.
Before compiling simulation libraries, you should have a simulation tool installed and specify the path to the tool's executable file on the EDA Tool Options in the Options dialog box of the Tools menu.
To compile simulation libraries, type the following from the command line:
quartus_sh --simlib_comp -<family> -<tool> -<language> -<directory> -log<filename> -suppress_messages 
The settings for -family<device family>, -tool<EDA simulation tool>, and -language<language> settings are required, -directory<directory> -log<log file name>, and -suppress_messages are optional.
|
Setting |
Required |
Values |
Description |
|
-family |
Yes |
Any device family |
The syntax is the device family name in lowercase letters, with no spaces.
For example: stratixiigx |
|
-tool |
Yes |
activehdl |modelsim |ncsim | vcs |vcsmx |
A supported third-party simulation tool. |
|
-language |
Yes |
verilog | vhdl |
|
|
-directory |
No |
User specified | current ( ./ ) |
Specifies an output directory for the compiled libraries. The default is the directory where you run the quartus_sh executable.
Libraries are compiled into a single directory (<directory>/verilog_libs or <directory>/vhdl_libs) containing subdirectories for each of the compiled libraries. The subdirectory names for Verilog HDL libraries always contain the _ver suffix, whereas the VHDL library directories have no suffix.
For example: The Verilog HDL version of the altera_mf library is: |
|
-log |
No |
<log file name> |
Specifies the file in which to store all messages issued during compilation that were not suppressed with -suppress_messages. If this setting is not specified then a log file is not created. |
|
-suppress_messages |
No |
|
Specifies whether or not to suppress simulation-tool specific information and warning messages issued during compilation. This setting does not apply to tool-specific error messages. Messages that are suppressed do not appear in a log file, if one is created with the |
|
|
Note:
|

