Compile an Example Design and Run a Simulation - 2023.2 English

Vitis Networking P4 Getting Started Guide (UG1373)

Document ID
UG1373
Release Date
2023-10-18
Version
2023.2 English
  1. Double-click Vitis Networking P4 to instantiate the IP (as described in previous section).
  2. Check the Select P4 Example box and select an example design (for example, Five Tuple) from the drop-down P4 Example menu.

    See Vitis Networking P4 User Guide (UG1308), Chapter 3, for descriptions of the various tabs in the GUI.

  3. In the Generate Output Products window, click Skip.

  4. Right-click vitis_net_p4_0 in the Sources window, click Open IP Example Design, then click OK in the next window.

  5. In the new Example Design Vivado project, click Run Simulation under Simulation in the panel on the left. This launches the XSim simulator, the default simulator used in the AMD Vivado™ Design Suite. See Vitis Networking P4 User Guide (UG1308), Chapter 3 for information on how to change the target simulator.
  6. The simulation is run for a maximum of 10 μs.
  7. Users can review the operation of the system in waveforms. Output packets are compared against the behavioral model if desired.