# US 2008/0313509 A1 · Method and apparatus for preventing soft error accumulation in register arrays

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

- Number: US 2008/0313509 A1
- Document ID: US20080313509A1
- Status: Published application
- Kind: A1
- Application number: 12/051,904
- Filed: 2008-03-20
- Published: 2008-12-18
- Earliest claimed: 2006-03-14
- Assignees: International Business Machines Corporation
- Inventors: Pradip Bose; Jude A. Rivers; Balaram Sinharoy; Victor Zyuban
- Web page: https://patentgrep.com/patent/US20080313509A1

## CPC

- G06F 11/004: {Error avoidance (G06F11/07 and subgroups take precedence)}
- G06F 11/3409: {for performance assessment}
- G06F 2201/88: Monitoring involving counting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer implemented method, apparatus, and computer usable program code for preventing soft error accumulation. A number of cycles between references to a register are counted. Instructions are injected that reference the register for preventing soft error accumulation in response to a determination that the number of cycles is greater than a threshold.

## Claims

### Claim 1

A computer implemented method for preventing soft error accumulation, the computer implemented method comprising:
counting a number of cycles between references to a register; and
responsive to a determination that the number of cycles is greater than a threshold, injecting instructions that reference the register for preventing soft error accumulation.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the injecting step further comprises:
determining if empty issue slots are available for the instructions; and
determining a processor utilization.

### Claim 3 (depends on 2)

The computer implemented method of claim 2, wherein the injecting step further comprises:
responsive to determining that empty issue slots are available for the instructions, injecting the instructions the empty issue slots.

### Claim 4 (depends on 2)

The computer implemented method of claim 2, wherein the injecting step further comprises:
responsive to determining that empty issue slots are unavailable for the instructions, issuing a stall.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, wherein the injecting step comprises:
responsive to determining that empty issue slots are available for the instructions, injecting instructions that reference the register for preventing soft error accumulation, wherein the threshold is zero cycles.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein the threshold is selected from the group of by a user, statically, and dynamically.

### Claim 7 (depends on 5)

The computer implemented method of claim 5, wherein the stall is issued according to a policy.

### Claim 8 (depends on 1)

The computer implemented method of claim 1, wherein the threshold and the policy is adjusted dynamically for maximizing performance of a data processing system and soft error accumulation.

### Claim 9 (depends on 1)

The computer implemented method of claim 1, wherein the injecting step further comprises:
performing error code correction on the register for detecting soft errors in the register.

### Claim 10 (depends on 1)

The computer implemented method of claim 1, further comprising:
monitoring instructions to be executed by a processor; and
responsive to a determination that the number of cycles is less than the threshold, performing normal instruction issue.

### Claim 11 (depends on 1)

The computer implemented method of claim 1, further comprising:
updating a register reference for indicating when the register was last accessed; and
responsive to the register being referenced, passing a reset value to the register reference to reset the number of cycles.

### Claim 12 (depends on 1)

The computer implemented method of claim 1, further comprising:
injecting instructions wherein the instructions access the register so that data elements in the register are refreshed.

### Claim 13 (depends on 1)

The computer implemented method of claim 1, wherein the register is a plurality of registers, and the instructions is a plurality of instructions wherein each of the plurality of instructions may reference one of the plurality of registers.

### Claim 14

An apparatus comprising:
a register counter for counting a number of cycles between references to a register;
a limit register operably connected to the register counter for specifying a threshold;
a comparator operably connected to the register counter and the limit register wherein the comparator generates a injection trigger when a value in the register counter is greater than the limit register; and
a trigger operably connected to the comparator wherein the trigger injects instructions referencing the register in response to receiving the injection trigger.

### Claim 15 (depends on 14)

The apparatus of claim 14, further comprising:
a control register operably connected to the trigger wherein the control register determines whether empty issue slots are available for the instructions; and
a data refresh unit for refreshing values in the register in response to receiving the instructions.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the control register dynamically adjusts the threshold based on processor utilization.

### Claim 17 (depends on 14)

The apparatus of claim 14, wherein the control register allows the trigger to injects instructions only when empty issues slots are available.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein in response to empty issue slots being unavailable, the control register instructs the trigger to issue a stall to a processor to make empty issue slots available.

### Claim 19

A computer program product comprising a computer usable medium including computer usable program code for preventing soft error accumulation, said computer program product including:
computer usable program code for counting a number of cycles between references to a register; and
computer usable program code responsive to a determination that the number of cycles is greater than a threshold, for injecting instructions that reference the register for preventing soft error accumulation.

### Claim 20 (depends on 19)

The computer program product of claim 19, comprising computer usable program code for injecting instructions according to a first mode, a second mode, a third mode, and a fourth mode;
wherein in the first mode the instructions are injected whenever the number of cycles is greater than the threshold;
wherein in the second mode the instructions are injected whenever an empty issue slot is available;
wherein in the third mode the instructions are injected whenever the number of cycles is greater than the threshold and the empty issue slot is available; and
wherein in the fourth mode a stall is issued based on processor performance and a number of soft errors wherein the stall creates empty issue slots for injecting the instructions.
