Agilex™ 7 F-Series and I-Series FPGA Memory Subsystem IP User Guide

ID 789389
Date 7/15/2024
Public
Document Table of Contents

6.3.5. BCAM Lookup Operations through the AXI-Lite Interface

You can use a lookup operation to find an entry in the table, based on the key that you provide.

To perform a lookup operation, follow these steps in the AXI-Lite interface:

  1. Write the key to the key_n registers.
  2. Write to the mgmt_ctrl register, specifying op_type = 0x3.
  3. Poll the mgmt_ctrl register until the busy bit = 0x0.
Figure 40. Lookup Through AXI-Lite Operation on BCAM
A successful lookup operation sets the mgmt_ctrl register success bit to 0x1; if the entry is not found, mgmt_ctrl is set to 0x0.

The result field associated with a matching entry can now be read using the Result_N registers.

  • The address of mgmt_ctrl register is 0x50.
  • The address of key_n register is 0x1000.
  • The address of result_n register is 0x2000.