# US 2001/0025237 A1 · Computer system with debug facility

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

- Number: US 2001/0025237 A1
- Document ID: US20010025237A1
- Status: Published application
- Kind: A1
- Application number: 09/748,075
- Filed: 2000-12-22
- Published: 2001-09-27
- Earliest claimed: 1999-12-23
- Inventors: Andrew Cofler; Laurent Wojcieszak; Arnaud Dehamel
- Web page: https://patentgrep.com/patent/US20010025237A1

## CPC

- G06F 11/3632: {of specific synchronisation aspects}
- G06F 9/30072: {to perform conditional operations, e.g. using predicates or guards}
- G06F 11/3648: {using additional hardware}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer system for executing instructions having assigned guard indicators, comprises instruction supply circuitry, pipelined execution units for receiving instructions from the supply circuitry together with at least one guard indicator selected from a set of guard indicators, the execution unit including a master guard value store containing master values for the guard indicators, and circuitry for resolving the guard values in the execution pipeline and providing a signal to indicate whether the pipeline is committed to the execution of the instruction, and an emulator having watch circuitry for effecting a watch on selected instructions supplied to the execution pipeline and synchronizing circuitry for correlating resolution of the guard indicator of each selected instruction with a program count for that instruction.

## Claims

### Claim 1

A computer system for executing instructions having assigned guard indicators, which system comprises instruction supply circuitry, at least one pipelined execution unit for receiving instructions from the supply circuitry together with at least one guard indicator selected from a set of guard indicators, said execution unit including a master guard value store containing master values for the guard indicators in said set of guard indicators, and circuitry for resolving the guard value of the or each guard indicator in the execution pipeline and providing a signal to indicate whether the pipeline is committed to the execution of the instruction, said system including an emulator having watch circuitry for effecting a watch on selected instructions supplied to the execution pipeline and synchronising circuitry for correlating resolution of the guard indicator of each selected instruction with a program count for that instruction.

### Claim 2 (depends on 1)

A computer system according to claim 1 in which said watch circuitry is arranged for watching instruction fetch addresses supplied to a program memory and providing an indication that the instruction is selected prior to decoding the instruction.

### Claim 3 (depends on 1)

A computer system according to claim 1 in which the emulator includes data watch circuitry for providing an output signal to said synchronising circuitry to indicate detection of a selected data value output by the execution pipeline.

### Claim 4 (depends on 1)

A computer system according to preceding claim 1 in which the emulator includes load/store detection circuitry to indicate execution of a load or store operation by said execution pipeline.

### Claim 5 (depends on 1)

A computer system according to claim 1 in which the emulator includes memory access address watch circuitry to indicate detection of a selected memory access address by said execution pipeline.

### Claim 6 (depends on 1)

A computer system according to claim 1 in which said synchronising circuitry comprises a plurality of multivalue buffers each arranged to hold successive values in an ordered sequence.

### Claim 7 (depends on 6)

A computer system according to claim 6 in which said buffers comprise a plurality of FIFOs.

### Claim 8 (depends on 7)

A computer system according to claim 7 in which said FIFOs include at least one for the program count of selected instructions.

### Claim 9 (depends on 7)

A computer system according to claim 7 in which said FIFOs include at least one for commit indicators after resolution of the guard values of instructions supplied to the execution pipeline.

### Claim 10 (depends on 7)

A computer system according to claim 7 in which said FIFOs include at least one for indicating whether load/store instructions have been executed in the execution unit.

### Claim 11 (depends on 7)

A computer system according to claim 7 in which said FIFOs include at least one for indicating execution of a data memory access instruction where the data and/or address provide the hit with a watched value of the data and/or address.

### Claim 12 (depends on 1)

A computer system according to claim 1 in which a plurality of execution units are provided in parallel and a plurality of instructions are dispatched simultaneously to respective execution pipelines.

### Claim 13 (depends on 12)

A computer system according to claim 12 in which all guard indicators of instructions dispatched simultaneously to a plurality of pipelines are supplied to one or more pipelines having access to said master guard value store when the watching circuitry of said emulator has selected said instructions.

### Claim 14

A method of executing instructions in a computer system, said instructions having assigned guard indicators, and effecting a debugging watch on execution of said instructions, which method comprises supplying a plurality of instructions to at least one pipelined execution unit, resolving the guard value of each instruction in the execution unit to provide a commit signal if the instruction is executed, and effecting a debugging watch by selecting instructions in an instruction fetch operation and providing a program count signal for said selected instructions, storing the program count in a sequential buffer, and storing in a further sequenced buffer commit signals derived from resolution of the guard value in the execution pipeline thereby synchronising the program count with resolution of the guard value for the selected instruction.

### Claim 15 (depends on 14)

A method according to claim 14 in which a plurality of other parameters are watched by the debugging routine and detection of the parameters is stored in further buffers which hold entries in an ordered sequence for synchronisation with the commit signals and program counts.

### Claim 16 (depends on 14)

A method according to claim 14 in which the occurrence of events which are watched by the debugging routine are held in respective first in first out buffers.

### Claim 17 (depends on 12)

A method according to claim 12 in which the debugging routine provides a trace or profile of events related to the program count of a watched instruction for which a commit signal was provided by the execution pipeline.

### Claim 18 (depends on 12)

A method according to claim 12 in which a plurality of instructions are supplied simultaneously to a plurality of parallel execution pipelines the resolution of guard values for each of the instructions being effected during passage through the execution pipeline.
