AN 780: Compiling and Customizing an Intel® Arria® 10 Custom Platform for OpenCL*

ID 683045
Date 10/30/2018
Public
Document Table of Contents

1.6.3.2. Preparing an Existing Custom Platform for Customization

Step 2 in the Intel® Arria® 10 Custom Platform Customization Flow is to prepare the Custom Platform for customization. Before customizing your Custom Platform, make a copy of the existing platform to keep the original platform settings intact.

Intel assumes that you have completed the steps outlined in the Compiling a Kernel (vector_add.cl) without Regenerating the Custom Platform section.

To set up the project for customization, perform the following tasks:

  1. Make a copy of the a10gx_ref_18.1/hardware/a10gx directory.
  2. Rename the copied directory from a10gx to a10gx_fifo. This new directory will contain any new files and changes resulted from the customization.
  3. Open the a10gx_ref_18.1/board_env.xml file in a text editor and perform the following tasks:
    1. Change the board default setting from a10gx_es3 to a10gx_fifo.
    2. Save and then close the board_env.xml file.
  4. Open the a10gx_ref_18.1/hardware/a10gx_fifo/board_spec.xml file a text editor and perform the following tasks:
    1. Change the board name setting from a10gx_es3 to a10gx_fifo.
    2. Save and then close the board_spec.xml file.
  5. Navigate to the a10gx_ref_18.1 project directory and invoke the aoc vector_add.cl –v --no-interleaving default command.
  6. After the compilation is completed, you can review the resulting files in the vector_add directory within your working directory.
  7. Refer to the Analyzing the Results from Compilation section to check the Fitter, Timing Analyzer reports and placement in the Floorplanner.