Example Designs - Example Designs - 2023.1 English - UG1308

Vitis Networking P4 User Guide (UG1308)

Document ID
UG1308
Release Date
2023-05-16
Version
2023.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_v1_0/example_design/examples directory:
  • Default
  • 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