# US 2015/0149836 A1 · Recoverable and fault-tolerant cpu core and control method thereof

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

- Number: US 2015/0149836 A1
- Document ID: US20150149836A1
- Status: Published application
- Kind: A1
- Application number: 14/547,301
- Filed: 2014-11-19
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Young Su KWON; Jin Ho HAN; Kyung Jin BYUN
- Web page: https://patentgrep.com/patent/US20150149836A1

## CPC

- G06F 11/0772: {Means for error signaling, e.g. using interrupts, exception flags, dedicated error registers}
- G06F 11/0721: {within a central processing unit [CPU]}
- G06F 11/183: {by voting, the voting not being performed by the redundant components}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A recoverable and fault-tolerant CPU core and a control method thereof are provided. The recoverable and fault-tolerant CPU core includes first, second, and third arithmetic logic circuits configured to perform a calculation requested by the same instruction, a first selector configured to compare calculation values output from the first, second, and third arithmetic logic circuits by the same instruction, determine as a normal state when two or more of the calculation values are the same, and if not, determine as a fault state, and a register file configured to record the calculation value having the same value, when determining as the normal state in the first selector.

## Claims

### Claim 1

A recoverable and fault-tolerant CPU core, comprising:
first, second, and third arithmetic logic circuits configured to perform a calculation requested by the same instruction;
a first selector configured to compare calculation values output from the first, second, and third arithmetic logic circuits by the same instruction, determine as a normal state when two or more of the calculation values are the same, and if not, determine as a fault state; and
a register file configured to record the calculation value having the same value, when determining as the normal state in the first selector.

### Claim 2 (depends on 1)

The recoverable and fault-tolerant CPU core of claim 1, wherein the first selector is connected to the register file through an update bus.

### Claim 3

The recoverable and fault-tolerant CPU core of claim I, further comprising a fault controller configured to control an operation of the first, second, and third arithmetic logic circuits when determining as the fault state in the first selector.

### Claim 4 (depends on 3)

The recoverable and fault-tolerant CPU core of claim 3, wherein each of the first, second, and third arithmetic logic circuits comprises a program counter controller configured to store a program counter value generated by executing until a current clock cycle in the first, second, and third arithmetic logic circuits when receiving a fault signal indicating the fault state from the fault controller.

### Claim 5 (depends on 4)

The recoverable and fault-tolerant CPU core of claim 4, wherein the program counter controller terminates an execution of an instruction after the program counter value in a pipeline structure in front of an execution unit which is included in each of the first, second, and third arithmetic logic circuits.

### Claim 6 (depends on 4)

The recoverable and fault-tolerant CPU core of claim 4, wherein the program counter controller provides the program counter value to an instruction access unit which is included in each of the first, second, and third arithmetic logic circuits, and controls the instruction access unit to read an instruction again from the program counter value when a fault is generated.

### Claim 7 (depends on 1)

The recoverable and fault-tolerant CPU core of claim 1, further comprising a second selector configured to compare control signals output from the first, second, and third arithmetic logic circuits, determine as a normal state when two or more of the control signals are the same, and if not, determine as a fault state—the control signal designating the same address to be read in the register file .

### Claim 8 (depends on 7)

The recoverable and fault-tolerant CPU core of claim 7, wherein each of the first, second, and third arithmetic logic circuits reads a register value from the register file according to the control signal having the same value when determining as the normal state in the second selector.

### Claim 9 (depends on 7)

The recoverable and fault-tolerant CPU core of claim 7, further comprising a fault controller configured to control an operation of the first, second, and third arithmetic logic circuits when determining as the fault state in the second selector, and
wherein each of the first, second, and third arithmetic logic circuits comprises a program counter controller configured to store a program counter value generated by executing until a current clock cycle in the first, second, and third arithmetic logic circuits when receiving a fault signal indicating the fault state from the fault controller.

### Claim 10 (depends on 9)

The recoverable and fault-tolerant CPU core of claim 9, wherein the program counter controller terminates an execution of an instruction after the program counter value in a pipeline structure in front of an execution unit which is included in each of the first, second, and third arithmetic logic circuits.

### Claim 11 (depends on 9)

The recoverable and fault-tolerant CPU core of claim 9, wherein the program counter controller provides the program counter value to an instruction access unit which is included in the first, second, and third arithmetic logic circuits, and controls the instruction access unit to read an instruction again from the program counter value when a fault is generated.

### Claim 12

A control method of a CPU core comprising first, second, and third arithmetic logic circuits, a register file, and a first selector configured to compare calculation values output by the same instruction from the first, second, and third arithmetic logic circuits, comprising:
comparing the calculation values output by the same instruction from the first, second, and third arithmetic logic circuits, determining as a normal state when two or more of the calculation values are the same, and if not, determining as a fault state; and
recording the calculation value having the same value in the register file, when determining as the normal state.

### Claim 13 (depends on 12)

The control method of claim 12, further comprising:
controlling an operation of the first, second, and third arithmetic logic circuits when determining as the fault state, and
wherein the controlling of the operation comprises:
storing a program counter value generated by executing until a current clock cycle in the first, second, and third arithmetic logic circuits;
terminating an execution of an instruction after the program counter value in a pipeline structure in front of an execution unit which is included in each of the first, second, and third arithmetic logic circuits; and
providing the program counter value to an instruction access unit which is included in the first, second, and third arithmetic logic circuits, and controlling the instruction access unit to read an instruction again from the program counter value when a fault is generated.

### Claim 14

A control method of a CPU core comprising first, second, and third arithmetic logic circuits, a register file, and a second selector configured to compare control signals output from the first, second, and third arithmetic logic circuits, comprising:
comparing the control signals output from the first, second, and third arithmetic logic circuits, determining as a normal state when two or more of the control signals are the same, and if not, determining as a fault state; and
reading a register value from the register file according to the control signal having the same value in the register file, when determining as the normal state.

### Claim 15 (depends on 14)

The control method of claim 14, further comprising:
controlling an operation of the first, second, and third arithmetic logic circuits when determining as the fault state, and
wherein the controlling of the operation comprises:
storing a program counter value generated by executing until a current clock cycle in the first, second, and third arithmetic logic circuits;
terminating an execution of an instruction after the program counter value in a pipeline structure in front of an execution unit which is included in each of the first, second, and third arithmetic logic circuits; and
providing the program counter value to an instruction access unit which is included in the first, second, and third arithmetic logic circuits, and controlling the instruction access unit to read an instruction again from the program counter value when a fault is generated.

### Claim 16 (depends on 14)

The control method of claim 14, wherein the control signal designates the same address to be read in the register file.
