The Quartus library is supplied by Metrics (using the standard libraries available by Intel) and is made available to users on-demand on the remote compute. The library package is equivalent to the folders under the Quartus Prime Pro installation folder intelFPGA_pro/<version>/ip and the following folders under intelFPGA_pro/<version>/quartus:
For more information on the Intel Quartus library functionality see the Intel Quartus website.
Accessing the Quartus Library
DSim Cloud comes with Quartus Prime Pro 22.2. To load the Quartus package, uncomment the Quartus package entry in your config.yml:
To see how to change your config.yml, see DSim Cloud Configuration.
Loading a Quartus package also maps the corresponding precompiled libraries.
When the Quartus package is loaded, an environment variable QUARTUS_HOME is set, which points to the current version being used by the remote compute. It is equivalent to the path of the Quartus installation folder intelFPGA_pro/<version>.
To see which version of the Quartus library is being used currently:
mdc envs | findstr QUARTUS_HOME
Linux / Mac
mdc envs | grep QUARTUS_HOME
To access the Quartus library, use %QUARTUS_HOME% in your DSim commands. For example,
To compile a file from the folder intelFPGA_pro/<version>/ip:
mdc dvlcom -a '%QUARTUS_HOME%/ip/altera/altera_dp/src/altera_dp_reset_delay.v'
To compile a file from the folder intelFPGA_pro/<version>/quartus (note that /quartus is not in the remote path):
mdc dvhcom -a '%QUARTUS_HOME%/libraries/vhdl/altera_mf/altera_mf_components.vhd'