# US 10,956,248 B1 · Configurable reporting for device conditions

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

- Number: US 10,956,248 B1
- Document ID: US10956248B1
- Status: Granted
- Kind: B1
- Application number: 16/200,602
- Filed: 2018-11-26
- Granted: 2021-03-23
- Earliest claimed: 2018-11-26
- Assignees: Amazon Technologies, Inc.
- Applicants: Amazon Technologies, Inc.
- Inventors: Thomas A. Volpe; Raymond S. Whiteside
- Web page: https://patentgrep.com/patent/US10956248B1

## 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/0724: {in a multiprocessor or a multi-core unit (multiprocessors per se G06F15/80)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An integrated circuit configured to execute program instructions can generate, based on a configuration, any combination of a notification message, a halt signal, or an interrupt signal for a condition detected in the integrated circuit. The detected condition can be an error condition or a non-error condition. The notification message for the condition may be written to memory accessible by a host processor. The non-error condition may be used by the host processor to monitor internal states of the integrated circuit. The halt signal may be used to stop the integrated circuit from executing the instructions.

## Claims

### Claim 1

An offload engine for a host processor in a computing system, the offload engine configured to:
execute instructions stored in an instruction memory;
detect an error in the offload engine;
generate, based on detection of the error and a first configuration in a configuration register:
a notification message, wherein the offload engine is further configured to write the notification message in a memory accessible by the host processor, and wherein the notification message includes a timestamp indicating a point in time the error occurred, and an error identifier for the error;
generate, based on detection of the error and a second configuration in the configuration register:
the notification message; and
an interrupt signal to be sent to the host processor; and
generate, based on detection of the error and a third configuration in the configuration register:
the notification message;
the interrupt signal; and
a halt signal to stop the offload engine from executing the instructions.

### Claim 2 (depends on 1)

The offload engine of claim 1, wherein the first configuration represents a first error type, the second configuration represents a second error type, and the third configuration represents a third error type.

### Claim 3 (depends on 2)

The offload engine of claim 2, wherein the first error type corresponds to a first group of errors associated with runtime performance errors, the second error type corresponds to a second group of errors associated with hardware errors, and the third error type corresponds to a third group of errors associated with programming errors.

### Claim 4 (depends on 1)

The offload engine of claim 1, wherein the offload engine is further configured to disable generation of the notification message, the interrupt signal, or the halt signal based on a fourth configuration in the configuration register.

### Claim 5

An integrated circuit, comprising:
a processing circuit configured to execute instructions;
a condition detection circuit configured to detect an error condition in the integrated circuit;
a notification generator configured to generate, upon detection of the error condition, a notification message to report the error condition to a processor coupled to the integrated circuit, wherein the notification message includes a timestamp indicating a point in time the error condition occurred, and a condition identifier for the error condition;
a write interface configured to write the notification message in memory accessible by the processor; and
a halt generator configured to generate a halt signal upon detection of the error condition,
wherein the processing circuit is further configured to stop executing the instructions upon receiving the halt signal.

### Claim 6 (depends on 5)

The integrated circuit of claim 5 further comprising:
an interrupt generator configured to generate an interrupt signal upon detection of the error condition; and
an interrupt interface configured to send the interrupt signal to the processor.

### Claim 7 (depends on 6)

The integrated circuit of claim 6, wherein the condition identifier indicates a non-correctable error correction code (ECC) error corresponding to a first group of errors representing a first error type.

### Claim 8 (depends on 6)

The integrated circuit of claim 6, wherein the condition identifier indicates an unknown instruction error corresponding to a second group of errors representing a second error type.

### Claim 9 (depends on 6)

The integrated circuit of claim 6, wherein the interrupt generator is configured to generate the interrupt signal based on generation of the interrupt signal being enabled in a configuration register.

### Claim 10 (depends on 5)

The integrated circuit of claim 5, wherein
the condition detection circuit is further configured to detect a non-error condition in the integrated circuit, wherein the non-error condition is used to provide information associated with an internal status of the integrated circuit; and
the notification generator is further configured to generate, upon detection of the non-error condition, the notification message to report the non-error condition to the processor, wherein the timestamp corresponds to the point in time the non-error condition occurred, and the condition identifier corresponds to the non-error condition, and wherein the notification message for the non-error condition is used to monitor health of the integrated circuit.

### Claim 11 (depends on 10)

The integrated circuit of claim 10, wherein the notification generator is configured to generate the notification message based on generation of the notification message being enabled in a configuration register.

### Claim 12 (depends on 5)

The integrated circuit of claim 5, wherein the halt generator is configured to generate the halt signal based on generation of the halt signal being enabled in a configuration register.

### Claim 13 (depends on 5)

The integrated circuit of claim 5, wherein the processor uses timestamps from notification messages received over a period of time to build a timeline.

### Claim 14 (depends on 5)

The integrated circuit of claim 5, wherein the integrated circuit is a neural network processor.

### Claim 15 (depends on 5)

The integrated circuit of claim 5, wherein the integrated circuit is used to offload certain operations from the processor.

### Claim 16 (depends on 5)

The integrated circuit of claim 5, the integrated circuit is a neural network processor.

### Claim 17

A method implemented using an integrated circuit configured to execute instructions, the method comprising:
detecting an error condition in the integrated circuit;
determining, based on a configuration, that a halt signal is to be generated upon detection of the error condition;
determining, based on the configuration, that a notification message is to be generated to report the error condition to a processor coupled to the integrated circuit and generating the notification message for the error condition, the notification message comprising a timestamp indicating a point in time the error condition occurred, and a condition identifier for the error condition;
writing the notification message to a memory accessible by the processor; and
generating the halt signal to stop the integrated circuit from executing the instructions.

### Claim 18 (depends on 17)

The method of claim 17 further comprising:
determining, based on the configuration, that an interrupt signal is to be generated;
generating the interrupt signal for the error condition; and
sending the interrupt signal to a processor coupled to the integrated circuit.

### Claim 19 (depends on 17)

The method of claim 17, further comprising:
detecting a non-error condition in the integrated circuit, wherein the non-error condition is used to provide information associated with an internal status of the integrated circuit;
determining, based on the configuration, that a notification message is to be generated to report the non-error condition to a processor coupled to the integrated circuit;
generating the notification message for the non-error condition, the notification message comprising a timestamp indicating a point in time the non-error condition occurred, and a condition identifier for the non-error condition; and
writing the notification message to a memory accessible by the processor.

### Claim 20 (depends on 17)

The method of claim 17, wherein the processor is configured to use timestamps from notification messages received over a period of time to build a timeline.
