# US 12,468,530 B2 · Associatively indexed circular buffer

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,468,530 B2
- Document ID: US12468530B2
- Status: Granted
- Kind: B2
- Application number: 18/232,531
- Filed: 2023-08-10
- Published: 2023-11-30
- Granted: 2025-11-11
- Earliest claimed: 2021-06-22
- Assignees: Marvell Asia Pte Ltd
- Applicants: Marvell Asia Pte Ltd
- Inventors: Lawrence Said
- Web page: https://patentgrep.com/patent/US12468530B2

## CPC

- G06F 9/3004: {to perform operations on memory}
- G06F 5/10: having a sequence of storage locations each being individually accessible for both enqueue and dequeue operations, e.g. using random access memory {(G06F5/065 takes precedence)}
- G06F 12/0223: {User address space allocation, e.g. contiguous or non contiguous base addressing}
- G06F 5/085: {in which the data is recirculated}
- G11C 15/04: using semiconductor elements
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G11C: STATIC STORES (semiconductor memory devices H10B)

## Abstract

Some embodiments of the present disclosure provide an associatively indexed circular buffer (ACB). The ACB may be viewed as a dynamically allocatable memory structure that offers in-order data access (say, first-in-first-out, or “FIFO”) or random order data access at a fixed, relatively low latency. The ACB includes a data store of non-contiguous storage. To manage the pushing of data to, and popping data from, the data store, the ACB includes a contiguous pointer generator, a content addressable memory (CAM) and a free pool.

## Claims

### Claim 1

A method comprising:
receiving a push operation instruction;
obtaining a data-store address;
obtaining, from a contiguous pointer generator, a contiguous pointer;
writing the contiguous pointer to a content addressable memory (CAM) at a CAM address corresponding to the data-store address; and
writing a data that is to be pushed to the data-store address.

### Claim 2 (depends on 1)

The method of claim 1, further comprising separating the data-store address from a plurality of data-store addresses in a free pool.

### Claim 3

An associatively indexed circular buffer (ACB), the ACB comprising:
a data store;
a contiguous pointer generator;
a content addressable memory (CAM);
a free pool; and
a control element configured to:
receive a push operation instruction;
obtain a data-store address;
obtain, from the contiguous pointer generator, a contiguous pointer;
write the contiguous pointer to the CAM at a CAM address corresponding to the data-store address; and
write a data that is to be pushed to the data-store.

### Claim 4 (depends on 3)

The ACB of claim 3, wherein the free pool is implemented as a random-access-memory-based first-in-first-out memory structure.

### Claim 5 (depends on 3)

The ACB of claim 3, wherein the free pool is implemented as a zero-read-latency-based first-in-first-out memory structure.

### Claim 6 (depends on 3)

The ACB of claim 3, wherein the CAM is implemented as a vendor macro.

### Claim 7 (depends on 3)

The ACB of claim 3, wherein the CAM is implemented as a cascaded multi-stage flop-based memory.

### Claim 8 (depends on 3)

The ACB of claim 3, wherein the control element is further configured to separate the data-store address from a plurality of data-store addresses obtained from the free pool.

### Claim 9

A method comprising:
receiving a pop operation instruction;
providing a continuous pointer to a content addressable memory (CAM);
receiving, from the CAM, a data-store address;
reading data from the data-store address of a data-store; and
providing the data in response to the pop operation instruction.

### Claim 10 (depends on 9)

The method of claim 9, further comprising, subsequent to the providing the data in response to the pop operation instruction, returning the data-store address to a free pool.

### Claim 11 (depends on 9)

The method of claim 9, further comprising, subsequent to the reading, purging the data from the data store.

### Claim 12

An associatively indexed circular buffer (ACB), the ACB comprising:
a data store;
a contiguous pointer generator;
a content addressable memory (CAM); and
a control element configured to:
receive a pop operation instruction;
provide a continuous pointer to the content addressable memory (CAM);
receive, from the CAM, a data-store address;
read data from the data store at the data-store address; and
provide the data in response to the pop operation instruction.

### Claim 13 (depends on 12)

The ACB of claim 12, wherein the ACB further comprises a free pool, and wherein the control element is further configured to return the data-store address to the free pool.

### Claim 14 (depends on 12)

The ACB of claim 12, wherein the control element is further configured to purge the data from the data store.

### Claim 15 (depends on 12)

The ACB of claim 12, wherein the ACB further comprises a free pool implemented as a random-access-memory-based first-in-first-out memory structure.

### Claim 16 (depends on 12)

The ACB of claim 12, wherein the ACB further comprises a free pool implemented as a zero-read-latency-based first-in-first-out memory structure.

### Claim 17 (depends on 12)

The ACB of claim 12, wherein the CAM is implemented as a vendor macro.

### Claim 18 (depends on 12)

The ACB of claim 12, wherein the CAM is implemented as a cascaded multi-stage flop-based memory.

### Claim 19

A device comprising:
a means for receiving a push operation instruction;
a means for obtaining a data-store address;
a means for obtaining, from a contiguous pointer generator, a contiguous pointer;
a means for writing the contiguous pointer to a content addressable memory (CAM) at a CAM address corresponding to the data-store address; and
a means for writing a data that is to be pushed to the data-store address.

### Claim 20

A device comprising:
a means for receiving a pop operation instruction;
a means for providing a continuous pointer to a content addressable memory (CAM);
a means for receiving, from the CAM, a data-store address;
a means for reading data from the data-store address of a data-store; and
a means for providing the data in response to the pop operation instruction.
