Closed tzechienchu closed 4 years ago
Problem Solved. I download the BSP from Terasic and move the the folder de10_nano_sharedonly in de10_nano folder to hdl/board/c5soc/hardware And regenerate aocx file. Then It works. The aocl program won't hang. and the host program run correctly.
The way to check if you can generate the aocx for the board is run aoc -list-boards to check if the board you want is in it, aoc -list-boards Board list: c5soc Board Package: /home/scalachu/intelFPGA/17.1/hld/board/c5soc
c5soc_sharedonly Board Package: /home/scalachu/intelFPGA/17.1/hld/board/c5soc
de10_nano_sharedonly Board Package: /home/scalachu/intelFPGA/17.1/hld/board/c5soc
de10_nano_sharedonly_hdmi Board Package: /home/scalachu/intelFPGA/17.1/hld/board/c5soc
de10_standard_sharedonly_vga Board Package: /home/scalachu/intelFPGA/17.1/hld/board/c5soc
de1soc_sharedonly_vga Board Package: /home/scalachu/intelFPGA/17.1/hld/board/c5soc
I try to test the hello_world program from intel web site
root@C5SoC:~# aocl list-devices
Verified that the kernel mode driver is installed on the host machine.
Using platform: Intel(R) FPGA SDK for OpenCL(TM)
Board vendor name: Intel(R) Corporation
Board name: de10_nano_sharedonly_hdmi : Cyclone V SoC Development Kit
Buffer read/write test passed.
DIAGNOSTIC_PASSED
root@C5SoC:~# aocl env hello_world.aocx
INPUT_ARGS=device/hello_world.cl -o bin/hello_world.aocx -board c5soc_sharedonly --report