# US 2025/0147668 A1 · Self-Learning Data Linearizer

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

- Number: US 2025/0147668 A1
- Document ID: US20250147668A1
- Status: Published application
- Kind: A1
- Application number: 18/931,180
- Filed: 2024-10-30
- Published: 2025-05-08
- Earliest claimed: 2023-11-03
- Assignees: Microsemi SoC Corporation
- Applicants: Microsemi SoC Corp.
- Inventors: Balaji Chegu; Sateesh Kumar Gadamsetty; Arunkumar Devidas Naik; Kavita Aluri
- Web page: https://patentgrep.com/patent/US20250147668A1

## CPC

- G06F 3/0613: {in relation to throughput}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0673: {Single storage device}
- G06F 12/0862: with prefetch
- G06F 9/30: Arrangements for executing machine instructions, e.g. instruction decode (for executing microinstructions G06F9/22)
- G06F 9/38: Concurrent instruction execution, e.g. pipeline or look ahead
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A circuit, and method for using same comprising, a first intermediate memory communicatively coupled with a vector processor and a RAM, wherein the vector processor is communicatively coupled with the RAM, an address sequence memory to store non-linear RAM addresses corresponding to linear locations in the first intermediate memory, a data sequencer to read a first frame of data from the RAM to the first intermediate memory based on addresses stored in the address sequence memory, and the first intermediate memory to provide a linearized frame of data to the vector processor to execute a vector instruction

## Claims

### Claim 1

A circuit, comprising:
a first intermediate memory communicatively coupled with a vector processor and a RAM, wherein the vector processor is communicatively coupled with the RAM;
an address sequence memory to store non-linear RAM addresses corresponding to linear locations in the first intermediate memory;
a data sequencer to read a first frame of data from the RAM to the first intermediate memory based on addresses stored in the address sequence memory; and
the first intermediate memory to provide a linearized frame of data to the vector processor to execute a vector instruction.

### Claim 2 (depends on 1)

The circuit of claim 1, comprising:
a second intermediate memory communicatively coupled to the vector processor and the RAM;
wherein the data sequencer is to read a second frame of data from the RAM to the second intermediate memory based on addresses stored in the address sequence memory.

### Claim 3 (depends on 1)

The circuit of claim 1, comprising:
a scalar processor communicatively coupled to the RAM; and
an address learning agent to:
record a first set of memory access addresses by the scalar processor for the first frame of data; and
store the first set of memory access addresses in the address sequence memory.

### Claim 4 (depends on 3)

The circuit of claim 3, wherein the address learning agent is to:
record a second set of memory access addresses by the scalar processor for a second frame of data;
determine the first set of memory access addresses matches the second set of memory access addresses; and
indicate the match to the scalar processor.

### Claim 5 (depends on 1)

The circuit of claim 1, comprising the data sequencer to write data from the first intermediate memory to the RAM based on addresses stored in the address sequence memory.

### Claim 6 (depends on 1)

The circuit of claim 1, wherein the address sequence memory and the first intermediate memory are external to the RAM.

### Claim 7 (depends on 1)

The circuit of claim 1, wherein the vector processor instruction set includes an indicator to fetch data from the first intermediate memory instead of the RAM.

### Claim 8

A circuit, comprising:
a first intermediate memory communicatively coupled to a vector processor, a scalar processor, and a RAM, the RAM to store a vector program for performing calculations;
an address sequence memory to store non-linear RAM addresses corresponding to linear locations in the first intermediate memory;
an address learning agent to, while the scalar processor performs the calculations of the program:
capture a first set of memory access addresses issued by the scalar processor to the RAM during processing of a first frame of data;
map the set of memory access addresses to linear locations in the first intermediate memory; and
store in the address sequence memory the mapping of the set of memory access addresses to the linear locations in the first intermediate memory; and
a data sequencer to read a first frame of data from the RAM and store the first frame of data to the first intermediate memory based on addresses stored in the prefetch address lookup table,
the first intermediate memory to thereby provide linearized data to the vector processor to execute a vector instruction.

### Claim 9 (depends on 8)

The circuit of claim 8, comprising:
a selector to select one of the first intermediate memory and a second intermediate memory from which to fetch linearized data.

### Claim 10 (depends on 8)

The circuit of claim 8, wherein the address learning agent to:
record a second set of memory access addresses by the scalar processor for the second frame of data; and
determine the first set of memory access addresses matches the second set of memory access addresses.

### Claim 11 (depends on 10)

The circuit of claim 10, wherein the scalar processor to, based on the match determination, modify the program to access the first intermediate memory.

### Claim 12 (depends on 8)

The circuit of claim 8, comprising:
a second intermediate memory to store results generated by the vector processor; and
the data sequencer to write the results of the vector processor from the second intermediate memory to the RAM based on RAM addresses stored in the address sequence memory.

### Claim 13 (depends on 8)

The circuit of claim 8, wherein the address sequence memory and the first intermediate memory are external to the RAM.

### Claim 14 (depends on 8)

The circuit of claim 8, wherein the vector processor supports an instruction to access data from the first intermediate memory.

### Claim 15

A method comprising:
reading a sequence of non-contiguous addresses from an address sequence memory;
prefetching a first frame of data from a RAM using the sequence of non-contiguous addresses;
storing that first frame of data in a first intermediate memory as a first linearized frame of data;
receiving a vector load instruction to load a portion of the first frame of data;
loading the portion of the first frame of data into the vector processor from the first intermediate memory; and
executing the vector instruction with the received portion of the first frame of data as an operand.

### Claim 16 (depends on 15)

The method of claim 15, comprising:
selecting a second intermediate memory from which to load linearized data into the vector processor.

### Claim 17 (depends on 15)

The method of claim 15, comprising:
receiving scalar instructions equivalent in result to the vector instruction at a scalar processor;
recording a first set of memory access addresses consisting of each memory access address loaded from RAM while executing the scalar instructions to process the first frame of data;
linearizing the first set of memory access addresses; and
storing the linearized memory access addresses in the address sequence memory.

### Claim 18 (depends on 17)

The method of claim 17, comprising:
recording a second set of memory access addresses in executing the scalar instructions to process a second frame of data; and
comparing the first set of memory access addresses and second set of memory access addresses to determine a match.

### Claim 19 (depends on 15)

The method of claim 15, comprising:
storing in the address sequence memory RAM addresses corresponding to locations in a second intermediate memory;
during execution of the vector instruction, storing a result in the second intermediate memory; and
writing the result from the second intermediate memory to the RAM based on one of the addresses corresponding to locations in the second intermediate memory.

### Claim 20 (depends on 19)

The method of claim 19, comprising:
determining from the vector instruction that execution results will be stored in the second intermediate memory.
