Visible to Intel only — GUID: mwh1391807007950
Ixiasoft
Visible to Intel only — GUID: mwh1391807007950
Ixiasoft
1.4.6. Testing the Hardware Design
To test the hardware design, perform the following tasks:
- Navigate to the boardtest.cl OpenCL™ kernel within the INTELFPGAOCLSDKROOT/board/custom_platform_toolkit/tests/boardtest directory.
INTELFPGAOCLSDKROOT points to the location of the Intel® FPGA SDK for OpenCL™ Pro Edition installation.
- Compile your kernel to generate an Intel® FPGA SDK for OpenCL™ Offline Compiler executable file (.aocx) by invoking the aoc -no-interleaving=default boardtest.cl command.
- Program the accelerator board by invoking the aocl program acl0 boardtest.aocx command.
- Invoke the commands aocl compile-config and aocl link-config . Confirm they include flags necessary for your MMD layer to compile and link successfully.
- Build the boardtest host application.
- For Windows systems, you may invoke the make -f Makefile.windows command or use Microsoft Visual Studio.
If you invoke the make command, use the Makefile.windows file located in the INTELFPGAOCLSDKROOT/board/custom_platform_toolkit/tests/boardtest directory.
If you build your host application in Microsoft Visual Studio, the boardtest.sln and main.cpp files are located in the INTELFPGAOCLSDKROOT/board/custom_platform_toolkit/tests/boardtest/host directory.
- For Linux systems, invoke the make -f Makefile.linux command.
The Makefile.linux file is located in the INTELFPGAOCLSDKROOT/board/custom_platform_toolkit/tests/boardtest directory.
- For Windows systems, you may invoke the make -f Makefile.windows command or use Microsoft Visual Studio.
- Run the boardtest executable.
To qualify as an Intel® FPGA preferred board, rigorous testing across multiple boards is necessary. Specifically, you should perform overnight testing of all Custom Platform tests and executes the SDK example designs on multiple boards . All board variants within a Custom Platform must go through the testing process.