DE5a-Net OpenCL
www.terasic.com
March 29, 2017
8
Figure 2-3 Setup LM_LICENSE_FILE Environment Variable
2
2
.
.
3
3
C
C
o
o
n
n
f
f
i
i
g
g
u
u
r
r
e
e
For Intel FPGA OpenCL SDK to be able to find the kit location of DE5a-Net correctly, developers
need to create an environment variable
AOCL_BOARD_PACKAGE_ROOT
, and set its value as:
“%ALTERAOCLSDKROOT%\board\de5a_net_e1”
Also, append "
%AOCL_BOARD_PACKAGE_ROOT%\windows64\bin
" and "%
ALTERAO
CLSDKROOT%\bin
" and "
%ALTERAOCLSDKROOT%\windows64\bin
" and "
C:\intelFP
GA_pro\16.1\qsys\bin
" into the
PATH
environment variable so the OpenCL SDK can find
the binary file provided by DE5a-Net BSP.
Here are the procedures to create the required
AOCL_BOARD_PACKAGE_ROOT
environment
variable on Windows 7:
1.
Open the Start Menu and right click on
Computer
. Select
Properties
.
2.
Select
Advanced system settings.
3.
In the
Advanced
tab, select
Environment Variables.
4.
Select
New
.
5.
In the popup
New User Variable
dialog as shown in
Figure 2-4
, type
“
AOCL_BOARD_PACKAGE_ROOT
” in the
Variable name
edit box and type
“
%ALTERAOCLSDKROOT%\board\de5a_net_e1
”
in the
Variable value
edit box.