# US 2025/0156343 A1 · Computing system and memory managing method

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

- Number: US 2025/0156343 A1
- Document ID: US20250156343A1
- Status: Published application
- Kind: A1
- Application number: 18/825,003
- Filed: 2024-09-05
- Published: 2025-05-15
- Earliest claimed: 2023-11-12
- Assignees: Mediatek Inc.
- Applicants: Mediatek Inc.
- Inventors: Wei-Ting Hung; Hsien-Peng Wang
- Web page: https://patentgrep.com/patent/US20250156343A1

## CPC

- G06F 13/1663: {Access to shared memory}
- G06F 13/1621: {by maintaining request order}
- G06F 13/1668: {Details of memory controller}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computing system, includes a memory device, which further includes a memory storage and a memory controller. The memory controller is used to utilize a plurality of registers to manage a plurality of memory spaces in the memory storage. Several of computing engines, are used to execute a plurality of computations, read a plurality of consumed data from the memory storage for processing, and write the processed data as produced data to the memory storage. The memory controller utilizes a managing table to record an identifier, a base address, a bound address, a delete size, a head pointer, a tail pointer, and two indicators of each of the registers.

## Claims

### Claim 1

A computing system comprising a memory device and a plurality of computing engines,
the memory device, comprising:
a memory storage; and
a memory controller, used to utilize a plurality of registers to manage a plurality of memory spaces in the memory storage;
wherein the plurality of computing engines are used to execute a plurality of computations, read a plurality of consumed data from the memory storage for processing, and write the processed data as produced data to the memory storage;
wherein the memory controller is configured to utilize a managing table to record an identifier, a base address, a bound address, a delete size, a head pointer, a tail pointer, and two indicators of each of the registers.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein a corresponding one of the registers has a reserved memory space in the memory storage, the reserved memory space is defined by the base address and the bound address.

### Claim 3 (depends on 1)

The computing system of claim 1, wherein the corresponding one of the registers has an available data with a start and an end, the start is pointed by the head pointer, and the end is pointed by the tail pointer, the head pointer and the tail pointer are located between the base address and the bound address.

### Claim 4 (depends on 3)

The computing system of claim 3, wherein in a read operation for the corresponding one of the registers to read the consumed data, a read pointer is located between the head pointer and the tail pointer associated with the available data.

### Claim 5 (depends on 4)

The computing system of claim 4, wherein the read operation for the corresponding one of the registers is performed based on a predefined read-ordering for the computing engines.

### Claim 6 (depends on 4)

The computing system of claim 4, wherein when the read operation has a read size greater than a size of the available data, the read operation is stalled.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the corresponding one of the registers has a first available data with an end pointed by the tail pointer and a second available data with a start pointed by the head pointer, and an available memory space between the first available data and the second available data is defined by the tail pointer and the head pointer.

### Claim 8 (depends on 7)

The computing system of claim 7, wherein in a write operation for the corresponding one of the registers to write the produced data, a write pointer is located within the available memory space.

### Claim 9 (depends on 8)

The computing system of claim 8, wherein the write operation for the corresponding one of the registers is performed based on a predefined write-ordering for the computing engines.

### Claim 10 (depends on 8)

The computing system of claim 8, wherein when the write operation has a write size greater than a size of the available memory space, the write operation is stalled.

### Claim 11 (depends on 1)

The computing system of claim 1, wherein the memory controller has a compiler for maintaining the base address, the bound address and the delete size in a software level.

### Claim 12 (depends on 1)

The computing system of claim 1, wherein the indicators include a “SEND busy” indicator and a “RECV busy” indicator, and the memory controller has a L1 managing unit for controlling the head pointer, the tail pointer, the “SEND busy” indicator and the “RECV busy” indicator in a hardware level.

### Claim 13 (depends on 12)

The computing system of claim 12, wherein only one write operation associated with the “RECV busy” indicator or only one read operation associated with the “SEND busy” indicator are executed at the same time for each of the registers.

### Claim 14

A memory managing method for a computing system, wherein the computing system includes a memory device and a plurality of computing engines, the memory managing method comprising:
storing a plurality of consumed data by a memory storage of the memory device;
utilizing a plurality of registers to manage a plurality of memory spaces in the memory storage, by a memory controller of the memory device; and
executing a plurality of computations, reading the consumed data from the memory storage for processing, and writing the processed data as produced data to the memory storage, by the computing engines;
wherein a managing table is utilized by the memory controller to record an identifier, a base address, a bound address, a delete size, a head pointer, a tail pointer, and two indicators of each of the registers.

### Claim 15 (depends on 14)

The memory managing method of claim 14, wherein a corresponding one of the registers has a reserved memory space in the memory storage, the reserved memory space is defined by the base address and the bound address.

### Claim 16 (depends on 14)

The memory managing method of claim 14, wherein the corresponding one of the registers has an available data with a start and an end, the start is pointed by the head pointer, and the end is pointed by the tail pointer, the head pointer and the tail pointer are located between the base address and the bound address.

### Claim 17 (depends on 16)

The memory managing method of claim 16, further comprising:
in a read operation for the corresponding one of the registers to read the consumed data, locating a read pointer between the head pointer and the tail pointer associated with the available data.

### Claim 18 (depends on 14)

The memory managing method of claim 14, wherein the corresponding one of the registers has a first available data with an end pointed by the tail pointer and a second available data with a start pointed by the head pointer, and an available memory space between the first available data and the second available data is defined by the tail pointer and the head pointer.

### Claim 19 (depends on 18)

The memory managing method of claim 18, further comprising:
in a write operation for the corresponding one of the registers to write the produced data, locating a write pointer is within the available memory space.

### Claim 20 (depends on 14)

The memory managing method of claim 14, wherein the indicators include a “SEND busy” indicator and a “RECV busy” indicator, and the memory managing method further comprising:
controlling the head pointer, the tail pointer, the “SEND busy” indicator and the “RECV busy” indicator in a hardware level, by a L1 managing unit of the memory controller;
wherein only one write operation associated with the “RECV busy” indicator or only one read operation associated with the “SEND busy” indicator is executed at the same time for each of the registers.
