DE5a-Net OpenCL
www.terasic.com
March 29, 2017
18
Test vector_add project
Firstly, use the compiled OpenCL image file vector_add.aocx to configure the FPGA. In Command
Prompt window, type “cd C:\intelFPGA_pro\16.1\hld\board\de5a_net_e1\tests\vector_add\bin” to
go to
vector_add\bin
project folder, then type “
aocl program aclde5a_net0 vector_add.aocx
” to
configure FPGA with the OpenCL Image vector_add.aocx. If configuration is successfully, you will
see the successful message as shown in
Figure 2-16
.
Figure 2-16 “aocl program aclde5a_net0 vector_add.aocx” configured successfully
In Command Prompt window, execute “
host.exe
”.
Figure 2-17
is the screen shot when the test is
successful.
Figure 2-17 “vector_add” test successfully