# US 2025/0377971 A1 · Circuits, systems and/or processes for instruction sequence test error tracking

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

- Number: US 2025/0377971 A1
- Document ID: US20250377971A1
- Status: Published application
- Kind: A1
- Application number: 18/736,147
- Filed: 2024-06-06
- Published: 2025-12-11
- Earliest claimed: 2024-06-06
- Assignees: Arm Limited
- Applicants: Arm Limited
- Inventors: Karthikeyan Shanmugam; Uma Renuka Subramanyam Pitchuka; Nitin Gupta
- Web page: https://patentgrep.com/patent/US20250377971A1

## CPC

- G06F 11/08: Error detection or correction by redundancy in data representation, e.g. by using checking codes
- G06F 11/1004: {to protect a block of data words, e.g. CRC or checksum (G06F11/1076 takes precedence; security arrangements for protecting computers or computer systems against unauthorized activity G06F21/00)}
- G06F 11/2236: {to test CPU or processors}
- G06F 11/263: Generation of test inputs, e.g. test vectors, patterns or sequences {; with adaptation of the tested hardware for testability with external testers}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present disclosure relates generally to integrated circuits and relates more particularly to circuits, systems, and/or processes for instruction sequence test error tracking.

## Claims

### Claim 1

An apparatus, comprising:
execution circuitry to execute a current set of instructions of an instruction sequence test operation, wherein the execution circuitry is to store results of the current set of instructions in one or more first data registers; and
hash value calculation circuitry to calculate a hash value for the current set of instructions based at least in part on one or more data elements obtained from one or more specified data registers, including at least the one or more first data registers, and further based at least in part on a previously-calculated hash value for a previous set of instructions of the instruction sequence test operation.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein the current set of instructions comprises one or more instructions and wherein the previous set of instructions comprises one or more instructions to immediately precede the current set of instructions.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the current set of instructions comprises a single instruction and wherein the previous set of instructions comprises a single instruction to immediately precede the current set of instructions.

### Claim 4 (depends on 1)

The apparatus of claim 1, further including a hash value register to store the calculated hash value for the current set of instructions.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the hash value for the current set of instructions comprises a cyclic redundancy check value for the current set of instructions, and wherein the hash value for the previous set of instructions comprises a cyclic redundancy check value for the previous set of instructions.

### Claim 6 (depends on 5)

The apparatus of claim 5, wherein the hash value calculation circuitry comprises circuitry to calculate the cyclic redundancy check value for the current set of instructions based at least in part on the one or more data elements obtained from the one or more specified data registers, including at least the one or more first data registers, and further based at least in part on the cyclic redundancy check value for the previous set of instructions.

### Claim 7 (depends on 1)

The apparatus of claim 1, further comprising selection circuitry to indicate to the hash value calculation circuitry the one or more specified data registers.

### Claim 8 (depends on 7)

The apparatus of claim 7, wherein the selection circuitry comprises a selection register to store one or more data elements indicative of the one or more specified data registers.

### Claim 9 (depends on 1)

The apparatus of claim 1, further comprising a control circuit to enable, halt, and/or pause calculation of hash values by the hash value calculation circuitry responsive at least in part to a first specified value written to a control register.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the control circuit is to reset the hash value register responsive at least in part to a second specified value written to the control register.

### Claim 11 (depends on 1)

The apparatus of claim 1, further comprising:
a selection register to store one or more data elements indicative of the one or more specified data registers;
a control register to store one or more data elements to indicate to a control circuit to enable, halt, reset, and/or pause calculation of hash values; and
a hash value register to store the calculated hash value for the current set of instructions;
wherein the selection register, the control register, and/or the hash value register are accessible via execution of one or more instructions.

### Claim 12 (depends on 1)

The apparatus of claim 1, wherein the execution circuitry and the hash value calculation circuitry are located in a first processor core.

### Claim 13 (depends on 1)

The apparatus of claim 1, wherein the one or more data elements obtained from the one or more specified data registers comprise the previously-calculated hash value.

### Claim 14 (depends on 1)

The apparatus of claim 1, further comprising circuitry to, responsive to a calculation of the hash value for the current set of instructions, write the hash value for the current set of instructions from the hash value register to at least one of the one or more specified data registers for use in a subsequent set of instructions to be executed by the execution circuitry as part of the instruction sequence test operation.

### Claim 15 (depends on 1)

The apparatus of claim 1, further comprising circuitry to, responsive to a calculation of the hash value for the current set of instructions wherein execution of the current set of instructions is to have cleared at least one of the one or more specified data registers, write the hash value for the current set of instructions from the hash value register to the at least one of the one or more specified data registers.

### Claim 16

A method, comprising:
executing, by execution circuitry of a first processor core, a current set of instructions of an instruction sequence test operation, including storing results of the current set of instructions in one or more first data registers;
calculating, via hash value calculation circuitry of the first processor core, a hash value for the current set of instructions based, at least in part, on one or more data elements obtained from one or more specified data registers, including at least the one or more first data registers, and further based at least in part on a previously-calculated hash value for a previous set of instructions of the instruction sequence test operation; and
storing the calculated hash value for the current iteration in a hash value register.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
writing one or more data elements indicative of the one or more specified data registers in a selection register;
writing one or more data elements to a control register to indicate to a control circuit to enable, halt, reset, and/or pause calculation of hash values; and
writing the hash value for the current set of instructions to a memory in accordance with one or more additional instructions decoded by an instruction decode unit;
wherein the selection register, the control register, and/or the hash value register are accessible via execution of one or more instructions.

### Claim 18 (depends on 16)

The method of claim 16, further comprising, responsive to the calculation of the hash value for the current set of instructions, writing the calculated hash value for the current set of instructions from the hash value register to at least one of the one or more specified data registers for use in a subsequent set of instructions to be executed by the execution circuitry as part of the instruction sequence test operation.

### Claim 19 (depends on 16)

The method of claim 16, further comprising writing the hash value for the current set of instructions from the hash value register to at least one of the one or more specified data registers responsive to the calculating the hash value for the current set of instructions wherein executing the current set of instructions results in clearing the at least one of the one or more specified data registers.

### Claim 20

A non-transitory computer-readable medium to store computer-readable code for fabrication of an apparatus comprising:
execution circuitry to execute a current set of instructions of an instruction sequence test operation, wherein the execution circuitry is to store results of the current set of instructions in one or more first data registers; and
hash value calculation circuitry to calculate a hash value for the current set of instructions based at least in part on one or more data elements obtained from one or more specified data registers, including at least the one or more first data registers, and further based at least in part on a previously-calculated hash value for a previous set of instructions of the instruction sequence test operation.
