Intel® FPGA SDK for OpenCL™: Intel® Arria® 10 SoC Development Kit Reference Platform Porting Guide

ID 683788
Date 10/08/2019
Public
Document Table of Contents

2.1. Initializing an Intel Arria 10 SoC Custom Platform

To initialize your Intel® FPGA SDK for OpenCL™ Custom Platform, first copy the Intel Arria 10 SoC Development Kit Reference Platform to your own directory and rename it.
  1. Copy the contents of the INTELFPGAOCLSDKROOT/board/a10soc directory (where INTELFPGAOCLSDKROOT points to the location of your Intel® FPGA SDK for OpenCL™ installation) to a directory that you own and rename the directory ( <your_custom_platform> ).
  2. Choose one of the board variants in the <your_custom_platform>/hardware directory as the basis of your design.
    The INTELFPGAOCLSDKROOT/board/a10soc directory includes the following board variants:
    • a10soc—includes one DDR4 shared memory between the HPS host and the FPGA
    • a10soc_2ddr—includes one DDR4 shared memory and one DDR4 memory for the FPGA
  3. Rename the directory of the chosen board variant to match the name of your FPGA board ( <your_custom_platform>/hardware/<board_name> ). Delete the other a10socdk board variant that you do not need.
  4. Modify the <your_custom_platform>/board_env.xml file so that the name and default fields match the changes you made in 1 and 3, respectively.
  5. Set the environment variable AOCL_BOARD_PACKAGE_ROOT variable to point to the location of your Custom Platform.
  6. Invoke the command aoc -list-boards to confirm that the Intel® FPGA SDK for OpenCL™ Offline Compiler displays the board name in your Custom Platform.
    > aoc -list-boards
    Board list:
      my_board