Connecting the AXI Traffic XOs - 2023.2 English

Vitis Tutorials: AI Engine

Document ID
XD100
Release Date
2023-11-29
Version
2023.2 English

Alt Text

  1. To integrate the appropriate sim_ipc_axis you need to tell the linker how you want to connect them together. These connections are described in a configuration file: system.cfg in this tutorial.

    [connectivity]
    nk=sim_ipc_axis_master:1:tx_iqdata
    nk=sim_ipc_axis_slave:1:rx_iqdata
    stream_connect=tx_iqdata.M00_AXIS:ai_engine_0.DataIn
    stream_connect=ai_engine_0.DataOut:rx_iqdata.S00_AXIS
    
  2. Link the XO files using the v++ link command. The makefile handles this by bringing in the correct width of XO based on the PLIO_WIDTH makefile command.

    PLIO_WIDTH := 64
    KERNEL_XO := pl_kernels/sim_ipc_axis_master_${PLIO_WIDTH}.xo pl_kernels/sim_ipc_axis_slave_${PLIO_WIDTH}.xo
    ...
    VPP_LINK_FLAGS := -l --platform $(BASE_PLATFORM) $(KERNEL_XO) $(GRAPH_O) -t $(TARGET) --save-temps -g --config $(CONFIG_FILE) -o $(PFM).xsa