Visible to Intel only — GUID: gwr1504928220412
Ixiasoft
Visible to Intel only — GUID: gwr1504928220412
Ixiasoft
1.7. Initializing the Intel® HLS Compiler Pro Edition Environment
The Intel® HLS Compiler environment initialization script applies only to the environment variable settings in your current terminal or command prompt session. You must initialize the Intel® HLS Compiler environment each time that you start a terminal or command prompt session to develop your design.
To initialize your current terminal or command prompt session so that you can run the Intel® HLS Compiler:
- On Linux systems, initialize your environment as follows:
- (Optional) Set the QUARTUS_ROOTDIR_OVERRIDE environment variable to point at the Intel® Quartus® Prime installation that Intel® HLS Compiler uses for Quartus compiles.
Typically, you set the QUARTUS_ROOTDIR_OVERRIDE environment variable only when you have one Intel® HLS Compiler installation that you want to use with multiple Intel® Quartus® Prime installations.
For more information about the QUARTUS_ROOTDIR_OVERRIDE environment variable and managing multiple installations of Intel® Quartus® Prime, refer to "Managing Multiple Versions and Copies of Intel FPGA Software" in Intel FPGA Software Installation and Licensing .
- Start a terminal session and run the following command from the command prompt:
<quartus_installdir>/hls/init_hls.sh
Where <quartus_installdir> is the path to your Intel® Quartus® Prime installation. For example, /home/<username>/intelFPGA_pro/23.2.
This script creates a subshell that does not change the environment in your initial working shell.
If you want modify your current working shell, use the source command to invoke the script:source <quartus_installdir>/hls/init_hls.sh
The environment initialization script shows the environment variables that it set, and you can now run the i++ command from this terminal session. - (Optional) Set the QUARTUS_ROOTDIR_OVERRIDE environment variable to point at the Intel® Quartus® Prime installation that Intel® HLS Compiler uses for Quartus compiles.
- On Windows systems, initialize your environment as follows:
- (Optional) Set the QUARTUS_ROOTDIR_OVERRIDE environment variable to point at the Intel® Quartus® Prime installation that Intel® HLS Compiler uses for Quartus compiles.
Typically, you set the QUARTUS_ROOTDIR_OVERRIDE environment variable when you have one Intel® HLS Compiler installation that you want to use with multiple Intel® Quartus® Prime installations.
For more information about the QUARTUS_ROOTDIR_OVERRIDE environment variable and managing multiple installations of Intel® Quartus® Prime, refer to "Managing Multiple Versions and Copies of Intel FPGA Software" in Intel FPGA Software Installation and Licensing .
- Start a Windows Command Prompt (cmd.exe) session and run the following command from the command prompt:
<quartus_installdir>\hls\init_hls.bat
Where <quartus_installdir> is the path to your Intel® Quartus® Prime installation. For example, C:\intelFPGA_pro\23.2 .
You can now run the i++ command from this command prompt session. - (Optional) Set the QUARTUS_ROOTDIR_OVERRIDE environment variable to point at the Intel® Quartus® Prime installation that Intel® HLS Compiler uses for Quartus compiles.