CAM HW Debug - 2022.2 English

Vitis Networking P4 User Guide (UG1308)

Document ID
2022.2 English

You can optionally enable/disable the following CAM HW Debug options, resulting in extra information being displayed in the Vivado Design Suite console when a simulation is run.

  • CAM_DEBUG_NO_ERROR_MSG: Disables printout of software error messages (disabled by default).
  • CAM_DEBUG_SKIP_MEM_INIT: Skips memory initialization, useful for speedup of simulations (enabled by default).
  • CAM_DEBUG_HW_WR: Hardware prints write operations (disabled by default). Example:
    # ** Info: example_top.DUT.inst.match_action_engine_inst.table2_MyProcessing_FiveTuple_inst.hcam_table_inst.HW_WR address = 0x0047f200 data = 0xaa20101124116cc1 1407770 
  • CAM_DEBUG_HW_LOOKUP: Hardware prints look-up operations (disabled by default). Example:
    # ** Info: example_top.DUT.inst.match_action_engine_inst.table2_MyProcessing_FiveTuple_inst.hcam_table_inst.HW_LOOKUP  key  = 0xfd5f0bc89aaa20101124116cc1  response = 0x06222     MATCH                4183326