The Top Level Settings Tab is shown in the following figure.
Figure 1. Top Level Settings Tab
- Packet Data Bus Width
- AXI4-Stream Packet Data Bus Width: can be set to 32-bit, 64-bit, 128-bit, 256-bit, 512-bit, or 1024-bit.
- Packet Rate
- Packet rate in million packets/second. This parameter is relevant to any CAM
tables that might be in your P4 program. A lower packet rate can result in a
lower resource utilization for the CAMs. Vitis Networking P4
applies back-pressure on the
s_axisinterface if necessary to avoid exceeding the packet rate at the CAMs.
- P4 File
- Select Select P4 Example to allow
the selection of P4 example designs from the P4 Example drop-down menu.
Alternatively, browse to select a P4 file in
P4 File Locationthen click OK. The VNP4 IP invokes the P4C-VitisNetP4 compiler, automatically compiling the P4 file after is selected, and unlocks the other four tabs.
- P4 Compile
- Re-compiles the P4 for use when the selected P4 file has been edited by the user.
- Calculate Latency
- Calculates the total latency of the VNP4 system. This button appears, for convenience, on each tab. See Latency for additional information on the latency calculation.