Visible to Intel only — GUID: dpv1523314993476
Ixiasoft
Visible to Intel only — GUID: dpv1523314993476
Ixiasoft
5.3.1.1.2. Design the AFU
The AFU’s top-level interface request in its platform configuration file defines its top-level module. The hello_afu sample’s top-level module definition is located here:
$OPAE_PLATFORM_ROOT/hw/samples/hello_afu/hw/rtl/ccip_std_afu.sv
The hello_afu sample implements the minimal requirements for an AFU specified in the CCI-P Reference Manual in the AFU submodule instanced by the ccip_std_afu top-level module and is described in the following SystemVerilog source:
$OPAE_PLATFORM_ROOT/hw/samples/hello_afu/hw/rtl/afu.sv
The afu.sv source file includes the afu_json_info.vh Verilog header file generated by the PIM and uses the AFU_ACCEL_UUID macro defined by afu_json_info.vh to set the UUID value as required by the CCI-P Reference Manual.
Each of the above SystemVerilog source files includes the platform_if.vh Verilog header file generated by the PIM, which makes available all the interface definitions used by the AFU.