Accelerator Functional Unit Developer’s Guide for Intel® FPGA Programmable Acceleration Card

ID 683129
Date 7/20/2020
Public
Document Table of Contents

5.3.2.6. Generate the ASE Build Environment

To generate a simulation build environment to verify your AFU with ASE, use the afu_sim_setup command:
afu_sim_setup --source \
<path-to-build-configuration-file>/<build-configuration-filename> <build-dir-name>
For example, the following command sequence generates a simulation build environment for the hello_afu sample AFU in the build_sim directory:
cd $OPAE_PLATFORM_ROOT/hw/samples/hello_afu

afu_sim_setup --source hw/rtl/filelist.txt build_sim

As you iterate on the verification flow, you need to regenerate the simulation build environment with the afu_sim_setup command if either of the platform configuration or build configuration files have been modified according to design modifications. You can overwrite an existing simulation build directory by invoking the afu_sim_setup command with the -f command line option, or you can create a separate build environment by specifying a new target directory.

For a description of the full set of command line options and semantics, see the afu_sim_setup command help:
afu_sim_setup -h
The afu_sim_setup command calls the rtl_src_config command as part of the synthesis build environment generation process.