CAM Table Configuration - 2022.2 English

Vitis Networking P4 User Guide (UG1308)

Document ID
UG1308
Version
2022.2 English
Revision
Ram Style
Selects the RAM style to be applied for each CAM instance. The options are:
  • Global Setting: Uses the global CAM RAM style as defined under Global Setting for Tables.
  • Block RAM: All tables implemented in block RAM.
  • Ultra RAM: All tables implemented in URAM.
  • HBM: All tables implemented in High Bandwidth RAM (only supported for BCAM).
Optimization Style
Selects the optimization style to balance logic versus RAM utilization in CAMs. The options are:
  • Global setting: Uses the global CAM RAM style as defined under Global Settings for Tables.
  • RAM: Reduces RAM utilization for a potentially higher logic utilization.
  • Logic: Reduces logic utilization for a potentially higher RAM utilization.
Clock Source
Sets the clock source to be either CAM Memory clock or AXI Stream clock. The CAM Memory clock allows for the CAMs to run at a higher rate (up to 600 MHz) to reduce resource utilization.
Note: If the selected configuration results in too many memory units to be generated by the CAM, an error will appear in the Vivado console as shown in the following figure. This error should be cleared before proceeding.
Figure 1. Too Many Memory Units Error