# US 11,740,900 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 11,740,900 B2
- Document ID: US11740900B2
- Status: Granted
- Kind: B2
- Application number: 17/354,810
- Filed: 2021-06-22
- Published: 2022-12-22
- Granted: 2023-08-29
- Earliest claimed: 2021-06-22
- Assignees: Marvell Asia Pte Ltd
- Applicants: Marvell Rianta Semiconductor ULC
- Inventors: Lawrence Said
- Web page: https://patentgrep.com/patent/US11740900B2

## 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 of carrying out a push operation at an associatively indexed circular buffer (ACB), the ACB including a data store, a contiguous pointer generator, a content addressable memory (CAM) and a free pool, the method comprising:
receiving a push operation instruction with data that is to be pushed;
obtaining, from the free pool, a data-store address to a physical memory location in the data-store;
obtaining, from the contiguous pointer generator, a contiguous pointer;
writing the contiguous pointer to the CAM at a CAM address corresponding to the data-store address; and
writing, in the data store at the data-store address, the data that is to be pushed.

### Claim 2 (depends on 1)

The method of claim 1, further comprising separating the data-store address from among a plurality of data-store addresses obtained from the 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 with data that is to be pushed;
obtain, from the free pool, a data-store address to a physical memory location in the data-store;
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, in the data store at the data-store address, the data that is to be pushed.

### 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 among a plurality of data-store addresses obtained from the free pool.

### Claim 9

A method of carrying out a pop operation at an associatively indexed circular buffer (ACB), the ACB including a data store, a contiguous pointer generator, a cam and a free pool, the method comprising:
receiving a pop operation instruction;
obtaining, from the contiguous pointer generator, a contiguous pointer;
providing, to the content addressable memory (CAM), the contiguous pointer;
receiving, from the CAM, a data-store address;
reading, from the data store at the data-store address, data; and
providing the data in answer to the pop operation instruction.

### Claim 10 (depends on 9)

The method of claim 9, further comprising, subsequent to the providing, returning, to the free pool, the data-store address.

### Claim 11 (depends on 9)

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

### Claim 12

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 pop operation instruction;
obtain, from the contiguous pointer generator, a contiguous pointer;
provide, to the content addressable memory (CAM), the contiguous pointer;
receive, from the CAM, a data-store address;
read, from the data store at the data-store address, data; and
provide the data in answer to the pop operation instruction.

### Claim 13 (depends on 12)

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

### Claim 14 (depends on 12)

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

### Claim 15 (depends on 12)

The ACB of claim 12, wherein the free pool is 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 free pool is 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.
