# US 2021/0173738 A1 · Checker Cores for Fault Tolerant Processing

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

- Number: US 2021/0173738 A1
- Document ID: US20210173738A1
- Status: Published application
- Kind: A1
- Application number: 17/115,776
- Filed: 2020-12-08
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: SiFive, Inc.
- Applicants: SiFive, Inc.
- Inventors: Murali Vijayaraghavan; Krste Asanovic
- Web page: https://patentgrep.com/patent/US20210173738A1

## CPC

- G06F 11/1068: {in sector programmable memories, e.g. flash disk (G06F11/1072 takes precedence)}
- G06F 11/3065: {Monitoring arrangements determined by the means or processing involved in reporting the monitored data (error or fault reporting or logging G06F11/0766)}
- G06F 9/30047: {Prefetch instructions; cache control instructions}
- G06F 9/321: {Program or instruction counter, e.g. incrementing}
- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/1641: {where the comparison is not performed by the redundant processing components}
- G06F 11/3024: {where the computing system component is a central processing unit [CPU]}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 12/1027: using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F 11/165: {with continued operation after detection of the error}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods are disclosed for checker cores for fault tolerant processing. For example, an integrated circuit (e.g., a processor) for executing instructions includes a processor core configured to execute instructions of an instruction set; an outer memory system configured to store instructions and data; and a checker core configured to receive committed instruction packets from the processor core and check the committed instruction packets for errors, wherein the checker core is configured to utilize a memory pathway of the processor core to access the outer memory system by receiving instructions and data read from the outer memory system as portions of committed instruction packets from the processor core. For example, data flow from the processor core to the checker core may be limited to committed instruction packets received via dedicated a wire bundle.

## Claims

### Claim 1

An integrated circuit for executing instructions comprising:
a processor core configured to execute instructions of an instruction set;
an outer memory system configured to store instructions and data; and
a checker core configured to receive committed instruction packets from the processor core and check the committed instruction packets for errors, wherein the checker core is configured to utilize a memory pathway of the processor core to access the outer memory system by receiving instructions and data read from the outer memory system as portions of committed instruction packets from the processor core.

### Claim 2 (depends on 1)

The integrated circuit of claim 1, comprising:
an error detection circuit in a memory pathway of the processor core that is configured to detect errors in data passing through the memory pathway.

### Claim 3 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit implements a parity check.

### Claim 4 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit implements an error correcting code that corrects detected errors.

### Claim 5 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit checks entries in a cache of the memory pathway.

### Claim 6 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit is configured to check one or more registers in the memory pathway storing status of a memory reservation.

### Claim 7 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit is configured to check one or more registers storing status an interrupt identifier.

### Claim 8 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit is configured to check one or more registers of a translation lookaside buffer.

### Claim 9 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit is configured to check one or more registers storing a program counter.

### Claim 10 (depends on 2)

The integrated circuit of claim 2, in which the error detection circuit is configured to check one or more registers of a storing a memory address.

### Claim 11 (depends on 1)

The integrated circuit of claim 1, comprising:
a first-in-first-out buffer configured store committed instruction packets received from the processor core and accessed by the checker core.

### Claim 12 (depends on 1)

The integrated circuit of claim 1, comprising:
an architectural state injection circuit configured to, responsive to detection of an error in a committed instruction packet from the processor core by the checker core, invoke a pipeline flush in the processor core and copy a corrected portion of an architectural state from the checker core to the processor core.

### Claim 13 (depends on 1)

The integrated circuit of claim 1, in which the checker core lacks access to the outer memory system that is independent of the processor core.

### Claim 14 (depends on 1)

The integrated circuit of claim 1, in which data flow from the processor core to the checker core is limited to committed instruction packets received via dedicated a wire bundle.

### Claim 15 (depends on 1)

The integrated circuit of claim 1, in which a distance between the processor core and the checker core is greater than a width of a footprint of the checker core.

### Claim 16 (depends on 1)

The integrated circuit of claim 1, in which the checker core is formally verified and the processor core is not formally verified.

### Claim 17 (depends on 1)

The integrated circuit of claim 1, in which the checker core is configured to commit instructions a fixed number of clock cycles after the processor core has committed the same instructions.

### Claim 18

A method comprising:
accessing, using a checker core, a committed instruction packet output from a processor core, wherein the committed instruction packet includes an instruction that has been read from an outer memory system and committed by the processor core;
decoding, using the checker core, the instruction from the committed instruction packet;
executing, using the checker core, the instruction to obtain one or more results;
comparing, using the checker core, the one or more results to corresponding data of the committed instruction packet; and
responsive to a mismatch between the one or more results and the corresponding data of the committed instruction packet, invoking a response to a detected error.

### Claim 19 (depends on 18)

The method of claim 18, in which invoking the response comprises injecting an architectural state of the checker core into the processor core.

### Claim 20 (depends on 19)

The method of claim 19, in which injecting an architectural state of the checker core into the processor core comprises invoking a pipeline flush in the processor core and copying a corrected portion of the architectural state from the checker core to the processor core.

### Claim 21 (depends on 18)

The method of claim 18, in which invoking the response comprises sending an error message from the checker core to an interrupt handler to invoke an interrupt.

### Claim 22 (depends on 18)

The method of claim 18, in which invoking the response comprises shutting down the processor core and the checker core.

### Claim 23 (depends on 18)

The method of claim 18, in which executing the instruction to obtain the one or more results comprises:
using a portion of the committed instruction packet corresponding to data that has been read from the outer memory system by the processor core.

### Claim 24 (depends on 18)

The method of claim 18, comprising:
comparing a program counter from the committed instruction packet to the program counter of the checker core.

### Claim 25 (depends on 18)

The method of claim 18, in which the one or more results include a virtual memory address to be accessed.

### Claim 26 (depends on 18)

The method of claim 18, in which the one or more results include a value to be written to the outer memory system.

### Claim 27 (depends on 18)

The method of claim 18, in which the one or more results include a name and value of an architectural register to be updated.
