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

ID 789389
Date 10/02/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.4.10. MBL Get Handle Operation

This operation retrieves the next free handle. The software can use this command to request free handles, which should then be used when inserting new entries. You can call this command repeatedly, until the capacity limit is reached, with the assumption that the handle values obtained are stored by the software for later use.

This operation is valid only in SEMI_AUTO pointer management mode. Calling this command in other modes returns MGMT_ERR_INVALID_OPCODE.

To perform the get handle operation, follow these steps through the AXI-Lite interface:

  1. Poll the MBL_MGMT_CTRL register until the busy bit = 0x0.
  2. Write to the MBL_MGMT_CTRL register:
    • Specifying req_type = 0x9.
    • Specifying tab (logical table).

The MBL_KEY_HANDLE register returns the handle.

The following diagram shows a get handle on MBL, where:

  • The address of mgmt_ctrl register is 0xb0, due to CSR_BASEADDR + CSR_ADDROFF + offset -> 0 + 0x60 + 0x20 = 0x80.
  • The address of mbl_key_handle register is 0x1060, due to CSR_BASEADDR + CSR_ADDROFF + offset -> 0 + 0x60 + 0x0024= 0x0084.
  • The address of result_n register is 0x2060, due to CSR_BASEADDR + CSR_ADDROFF + offset -> 0 + 0x60 + 0x2000 = 0x2060.
Figure 42. Get Handle on MBL