DE5a-Net OpenCL
www.terasic.com
March 29, 2017
25
Then type “
aocl install
”
to load the PCIe driver for the DE5a-Net as shown in
Figure 3-6
.
Figure 3-6 driver installation
Note: if user don‟t using the recommended Linux system or different version, recompile the driver
is needed. You can compile it by typing
“cd
root/intelFPGA_pro/16.1/hld/board/de5a_net_e1/
linux64/driver”
(there are source code, makefile and readme.txt)to
locate at the
driver source
code directory and type
“./make_all”
to compile and generate the new driver. Before that, user need
to install the kernel related development package matched the current kernel (
kernel-devel
package)
via issuing „
yum install kernel-devel
‟ command.
Test „aocl flash‟ Command
In the terminal, type “
cd /root/intelFPGA_pro/16.1/hld/board/de5a_net_e1/tests/hello_world/bin”
to go to hello world OpenCL project folder, then type “
aocl flash aclde5a_net_e10
hello_world.aocx
”
to program
hello_world.aocx
OpenCL image onto the startup configuration
flash of DE5a-Net.
Before flash programming, the programmer will ask users which startup configuration image area
will be used as shown in
Figure 3-7
. This is because DE5a-Net provides two startup configuration
image areas, called as Factory Image and User Image. Typing „1‟ to select User Image area is
recommended.