Visible to Intel only — GUID: uay1522094927775
Ixiasoft
Visible to Intel only — GUID: uay1522094927775
Ixiasoft
3. Getting Started with Platform Configuration
This chapter guides you through the process to generate an AF for the hello_afu sample AFU provided in the Acceleration Stack installation. Successful completion of the steps in this chapter quickly verifies your AFU development environment using a known-good design.
Build the hello_afu sample AFU by invoking the run.sh script from a terminal window as shown in Example 1.
Ensure that you declare the $OPAE_PLATFORM_ROOT variable before you compile the sample AFU. If it is not declared, you can source init_env.sh located in the Acceleration Stack directory. For more details, refer to the Intel Acceleration Stack Quick Start Guide.
Compile hello_afu Sample AFU
cd $OPAE_PLATFORM_ROOT/hw/samples/hello_afu
afu_synth_setup --source hw/rtl/filelist.txt build_synth
cd build_synth
run.sh
$OPAE_PLATFORM_ROOT/hw/samples/hello_afu/build_synth/hello_afu.gbs
- ./build/*.qdb
- ./build/qdb
- ./build/output_files/
- ./build/*qarlog
- ./build/*.qdf
Clean up from the PR Compilation (Optional)
cd $OPAE_PLATFORM_ROOT/hw/samples/hello_afu/build_synth
clean.sh
Successfully compiling the hello_afu sample AFU verifies that your environment is setup and ready to begin developing your own custom AFUs.