# US 2021/0279173 A1 · Data write system and method

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

- Number: US 2021/0279173 A1
- Document ID: US20210279173A1
- Status: Published application
- Kind: A1
- Application number: 17/189,524
- Filed: 2021-03-02
- Published: 2021-09-09
- Earliest claimed: 2020-03-03
- Assignees: Realtek Semiconductor Corp.
- Applicants: Realtek Semiconductor Corporation
- Inventors: Yen-Ju LU
- Web page: https://patentgrep.com/patent/US20210279173A1

## CPC

- G06F 9/34: Addressing or accessing the instruction operand or the result {; Formation of operand address; Addressing modes (address translation G06F12/00)}
- G06F 12/084: with a shared cache
- G06F 9/30101: {Special purpose registers}
- G06F 9/383: {Operand prefetching (cache prefetching G06F12/0862)}
- G06F 12/0246: {in block erasable memory, e.g. flash memory}
- G06F 12/0862: with prefetch
- G06F 12/0864: using pseudo-associative means, e.g. set-associative or hashing
- G06F 12/0882: Page mode
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 2212/1021: Hit rate improvement
- G06F 2212/1044: Space efficiency improvement
- G06F 2212/6028: Prefetching based on hints or prefetch instructions
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A data write system includes a processor circuit, a first memory, at least one register, and a second memory. The first memory is coupled to the processor circuit. The at least one register is configured to define at least one range. The second memory is coupled to the first memory. If a cache miss occurs and an access address of a reading command is in the at least one range in the second memory, a predetermined amount of data corresponding to the access address is written from the second memory into at least one first way of the first memory.

## Claims

### Claim 1

A data write system, comprising:
a processor circuit;
a first memory coupled to the processor circuit;
at least one register configured to define at least one range; and
a second memory coupled to the first memory, wherein if a cache miss occurs and an access address of a reading command is in the at least one range in the second memory, a predetermined amount of data corresponding to the access address is written from the second memory into at least one first way of the first memory.

### Claim 2 (depends on 1)

The data write system of claim 1, wherein at least one second way of the first memory is configured to store data from a static random access memory.

### Claim 3 (depends on 2)

The data write system of claim 2, wherein a capacity of the at least one second way is different from a capacity of the at least one first way.

### Claim 4 (depends on 1)

The data write system of claim 1, wherein the second memory is a flash memory.

### Claim 5 (depends on 1)

The data write system of claim 1, wherein the at least one register comprises:
a first register configured to store base address information;
a second register configured to store top address information, wherein the base address information and the top address information define the at least one range; and
a third register configured to store assigning information, wherein the assigning information is configured to record a quantity of the at least one first way.

### Claim 6 (depends on 1)

The data write system of claim 1, wherein the predetermined amount of data is corresponding to a page.

### Claim 7 (depends on 1)

The data write system of claim 1, wherein the predetermined amount of data is larger than a capacity of a cache line in the at least one first way.

### Claim 8 (depends on 7)

The data write system of claim 7, wherein the predetermined amount of data is stored into a plurality of first cache lines in the at least one first way.

### Claim 9 (depends on 8)

The data write system of claim 8, wherein at least one second cache line in the at least one first way is configured to store data from a static random access memory.

### Claim 10 (depends on 1)

The data write system of claim 1, wherein a quantity of the at least one first way is equal to or larger than 2.

### Claim 11 (depends on 1)

The data write system of claim 1, wherein a quantity of at least one range is equal to or larger than 2.

### Claim 12

A data write method, comprising:
determining whether a cache miss occurs and whether an access address of a reading command is in at least one range in a first memory; and
if yes, a predetermined amount of data corresponding to the access address is written from the first memory into at least one first way of a second memory,
wherein the at least one range is defined by at least one register.

### Claim 13 (depends on 12)

The data write method of claim 12, further comprising:
storing data from a static random access memory into at least one second way of the second memory.

### Claim 14 (depends on 13)

The data write method of claim 13, wherein a capacity of a cache line in the at least one second way is different from a capacity of a cache line in the at least one first way.

### Claim 15 (depends on 12)

The data write method of claim 12, wherein the first memory is a flash memory.

### Claim 16 (depends on 12)

The data write method of claim 12, further comprising:
storing base address information in a first register;
storing top address information in a second register; and
storing assigning information into a third register,
wherein the base address information and the top address information define the at least one range, and wherein the assigning information is configured to record a quantity of the at least one first way.

### Claim 17 (depends on 12)

The data write method of claim 12, wherein the predetermined amount of data is corresponding to a page.

### Claim 18 (depends on 12)

The data write method of claim 12, wherein the predetermined amount of data is larger than a capacity of a cache line in the at least one first way.

### Claim 19 (depends on 18)

The data write method of claim 18, further comprising:
storing the predetermined amount of data into a plurality of first cache lines in the at least one first way.

### Claim 20 (depends on 19)

The data write method of claim 19, further comprising:
storing data from a static random access memory into at least one second cache line in the at least one first way.
