Intel® High Level Synthesis Accelerator Functional Unit Design Example User Guide

ID 683025
Date 7/19/2019
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

2.6. Compiling the AF Bitstream

Compiling a bitstream takes significantly longer than simulating the AFU. The AFU is compiled with Intel® Quartus® Prime to generate an FPGA bitstream. is generated.

Before you compile the AF bitstream, ensure that you have complete the steps in Generating a Platform Designer Container for the HLS Component.

Refer to hls_afu/setup_gbs.sh to automate these steps.

To compile the AF bitstream:

Generate the AF build environment and create the AF (.gbs) image.
This process takes approximately 30 minutes.
$ afu_synth_setup --source hw/rtl/filelist.txt build_synth 
$ cd build_synth
$ $OPAE_PLATFORM_ROOT/bin/run.sh

When the AF is created successfully, you get the following message:

Wrote hls_afu.gbs

===========================================================================
 PR AFU compilation complete
 AFU gbs file is 'hls_afu.gbs'
===========================================================================