DE5a-Net OpenCL
www.terasic.com
March 29, 2017
17
Compile Host Program
Visual Studio C/C++ 2012 is used to compile the Host Program. Launch Visual Studio, and select
menu item “FILE
Open Project…”. In the Open Project dialog, go to the folder
“C:\intelFPGA_pro\16.1\hld\board\de5a_net_e1\tests\vector_add”, and select “vector_add.sln” as
shown
Figure 2-14
.
Figure 2-14 Open vector_add.sln Host Program
After vector_add Host Program project is opened successfully, in Visual Studio IDE select menu
item “BUILD
Build Solution” to build host program. When build is successfully, you will see
successful message as show in
Figure 2-15
. The execute file is generate in:
“C:\intelFPGA_pro\16.1\hld\board\de5a_net_e1\tests\vector_add\bin\host.exe”
Figure 2-15 Message for vector_add Host Program build successfully