Example Designs - 2022.2 English - UG1308

Vitis Networking P4 User Guide (UG1308)

Document ID
UG1308
Version
2022.2 English
Revision
Vitis Networking P4 IP is delivered with the following five example designs contained in the <Vivado_install_area>/data/ip/xilinx/vitis_net_p4_v1_0/example_design/examples directory:
  • Echo
  • FiveTuple
  • FiveTuple_tinycam
  • Forward
  • Forward_tinycam
  • Calculator
  • Advanced Calculator

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 - e.g. VitisNetP4, HBM, User Externs.

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

Figure 1. Example Design Block Diagram