Custom Control Plane Driver Usage - 2025.1 English - UG1308

Vitis Networking P4 User Guide (UG1308)

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

For users who wish to write their own custom control plan application/test bench, precompiled DPI binary control plane functions can be called manually for every sub-module found in the p4 design (tables, counters, externs etc). Note that for every XilVitisNetP4*Init() called, a XilVitisNetP4*Exit() needs to be called before exiting the simulation and the names of these functions do not contain the text 'DPI'.

These functions are imported directly from their C version via import "DPI-C" (located in vitis_net_p4_dpi_pkg.sv).