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.3. BCAM Modify Operations

You can use a modify operation to change the result for an existing (key, result) entry; you must provide the key and the new result.

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

  1. Write the key to the key_n registers.
  2. Write the result to the result_n registers.
  3. Write to the mgmt_ctrl register, specifying op_type = 0x4.
  4. Poll the mgmt_ctrl register until the busy bit = 0x0.
Figure 36. Modify Operation on BCAM
A successful modify operation sets the mgmt_ctrl register success bit to 0x1; if the operation fails, mgmt_ctrl is set to 0x0. If you attempt to modify an entry that does not exist, the operation fails.
  • The address of mgmt_ctrl register is 0x50.
  • The address of key_n register is 0x1000.
  • The address of result_n register is 0x2000.