Preparing for Use of Control Plane Drivers - 2025.1 English - UG1308

Vitis Networking P4 User Guide (UG1308)

Document ID
UG1308
Release Date
2025-05-29
Version
2025.1 English

XilVitisNetP4DpiCreateEnv() produces a return value, the data type of which is chandle. This data type is used by SystemVerilog to hold pointers to memory in the DPI library. In the case of the example designs, the memory being pointed to is a data structure needed for successful initialization of the control plane drivers by the test bench. The test bench must call the XilVitisNetP4DpiCreateEnv() function once for each VNP4 instance, and store the return values in variables.