Example Designs - 2025.1 English - UG1308

Vitis Networking P4 User Guide (UG1308)

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

Vitis Networking P4 IP is delivered with the following example designs contained in the <Vivado_install_area>/data/ip/xilinx/vitis_net_p4_v2_3/example_design/examples directory:

  • Default
    Note: Synthesis and implementation of the default P4 is not supported.
  • Echo
  • FiveTuple
  • FiveTuple_tinycam
  • Forward
  • Forward_tinycam
  • Calculator
  • Advanced Calculator
  • Tcp_fsm

The Vitis Networking P4 example designs contain the following blocks:

Control
Based on the P4 file, determines the IPs in the design and programs any necessary initializations.
Stimulus
Takes input from the pcap|user text file, converts it to an .axi file format using C DPI functions, and sends in packets.
Checker
Converts the expected packet file to an .axi file format using C DPI functions and checks against expected packets produced by the Behavioral Model.
DUT Wrapper
Contains all of the design related modules - for example, VNP4, HBM, User Externs.

The following figure shows a block diagram of the example design.

Figure 1. Example Design Block Diagram