Simulation Debug - 2022.2 English

Vitis Networking P4 User Guide (UG1308)

Document ID
2022.2 English

For VitisNetP4, there are CAM debug flags which relate to hardware and some which relate to software. For a description of the hardware debug flags, refer to CAM HW Debug section of Chapter 3: Vitis Networking P4 Tool Flows. For a full list of both hardware and software CAM debug flags, refer to the Simulation Debug section of the Debugging Appendix in any of the CAM Product Guides.

When using STCAM, TCAM or BCAM it is recommended to enable debug by calling XilVitisNetP4CamSetDebugFlags prior to calling the driver initialization functions listed in Appendix E: DPI Simulations. Note that this is not supported for TinyBCAM, TinyTCAM or Direct Tables.