Hierarchical Path to AXI Interface - 2022.2 English

Vitis Networking P4 User Guide (UG1308)

Document ID
2022.2 English

For the DPI library to be able to trigger the axi_lite_wr and axi_lite_rd tasks, the DPI library must be provided with the location of those tasks in the hierarchy of the simulation. This is accomplished by calling a utility function named XilVitisNetP4DpiCreateEnv(). This function accepts a string parameter that specifies the hierarchical path to the module that implements these tasks. In the case of the example designs, this path is specified in:


as example_top.example_control