# US 2017/0255520 A1 · Cache memory device and operating method thereof

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

- Number: US 2017/0255520 A1
- Document ID: US20170255520A1
- Status: Published application
- Kind: A1
- Application number: 15/241,808
- Filed: 2016-08-19
- Published: 2017-09-07
- Earliest claimed: 2016-03-02
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Jin Ho HAN; Young-Su KWON; Kyoung Seon SHIN; Kyung Jin BYUN; Nak Woong EUM
- Web page: https://patentgrep.com/patent/US20170255520A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/1044: {with specific ECC/EDC distribution}
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0808: with cache invalidating means (G06F12/0815 takes precedence)
- G06F 12/0864: using pseudo-associative means, e.g. set-associative or hashing
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F 2212/1032: Reliability improvement, data loss prevention, degraded operation etc
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

Provided is an operating method of a cache memory device includes receiving an address from an external device, reading an entry corresponding to at least a portion of the received address among a plurality of entries that are included in the cache memory, performing error detection on additional information that is included in the read entry, and performing a recovery operation on the entry based on a result of error detection and the additional information. The entry includes the additional information and a cache line corresponding to the additional information, and the additional information includes a tag, valid bit, and dirty bit that correspond to the cache line.

## Claims

### Claim 1

An operating method of a cache memory device comprising:
receiving an address from an external device;
reading an entry corresponding to at least a portion of the received address among a plurality of entries that are included in the cache memory;
performing error detection on additional information that is included in the read entry; and
performing a recovery operation on the entry based on a result of error detection and the additional information,
wherein the entry comprises the additional information and a cache line corresponding to the additional information, and the additional information comprises a tag, valid bit, and dirty bit that correspond to the cache line.

### Claim 2 (depends on 1)

The operating method of claim 1, wherein the performing of error detection on the read additional information comprises performing the error detection based on an error correction code (ECC) that corresponds to the read additional information.

### Claim 3 (depends on 1)

The operating method of claim 1, wherein the performing of the recovery operation on the entry based on the result of error detection and the additional information comprises
performing at least one of a first operation of outputting an interrupt signal based on the result of error detection and the additional information, a second operation of recovering, from the system memory, the entry based on data that corresponds to the address, and a third operation of invalidating the entry.

### Claim 4 (depends on 3)

The operating method of claim 3, wherein the performing of the at least one of the first to third operations comprises performing the second operation in a case where an error is detected from the valid bit and the dirty bit indicates a clean state.

### Claim 5 (depends on 3)

The operating method of claim 3, wherein the performing of the at least one of the first to third operations comprises performing the first operation in a case where an error is detected from the valid bit, at least a portion of the dirty bit indicates a dirty state, or an error is detected from the dirty bit.

### Claim 6 (depends on 3)

The operating method of claim 3, wherein the performing of the at least one of the first to third operations comprises performing the first operation in a case where an error is not detected from the valid bit, an error is detected from the tag, and the dirty bit indicates a dirty state.

### Claim 7 (depends on 3)

The operating method of claim 3, wherein the performing of the at least one of the first to third operations comprises performing the second operation in a case where an error is not detected from the valid bit, the tag matches at least a portion of the address, an error is detected from the tag, and the dirty bit indicates a clean state.

### Claim 8 (depends on 3)

The operating method of claim 3, wherein the performing of the at least one of the first to third operations comprises performing the third operation in a case where an error is not detected from the valid bit, the tag does not match at least a portion of the address, an error is detected from the tag, and the dirty bit indicates a clean state.

### Claim 9 (depends on 1)

The operating method of claim 1, wherein the valid bit indicates information on whether the tag, the cache line, and the dirty bit are valid, the tag indicates a portion of an address corresponding to the cache line, and the dirty bit indicates a dirty state or clean state of the cache line.

### Claim 10 (depends on 1)

The operating method of claim 1, wherein the cache memory device varies in operating voltage according to control of the external device.

### Claim 11

A cache memory device comprising:
a storage region configured to store a tag, valid bit, dirty bit, and cache line; and
a controller configured to access the storage region based on an address received from an external device,
wherein the controller performs error detection on the tag, the valid bit, the dirty bit, and the cache line based on an error correction code (ECC) that corresponds to the tag, the valid bit, the dirty bit, and the cache line, recovers the tag, the valid bit, the dirty bit, and the cache line based on a result of the error detection, the tag, the valid bit, and the dirty bit.

### Claim 12 (depends on 11)

The cache memory device of claim 11, wherein the cache memory device varies in operating voltage according to control of the external device.

### Claim 13 (depends on 11)

The cache memory device of claim 11, wherein the controller performs at least one of a first operation of outputting an interrupt signal based on the result of error detection and the tag, the valid bit, and the dirty bit, a second operation of recovering, from the system memory, the tag, the valid bit, the dirty bit, and the cache line based on data that corresponds to the address, and a third operation of invalidating the tag, the valid bit, the dirty bit, and the cache line.

### Claim 14 (depends on 11)

The cache memory device of claim 11, wherein the controller comprises an ECC circuit that performs the error detection.

### Claim 15 (depends on 11)

The cache memory device of claim 11, wherein the controller adjusts a size of the storage region according to control of the external device.
