# US 2006/0069953 A1 · Debug in a multicore architecture

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

- Number: US 2006/0069953 A1
- Document ID: US20060069953A1
- Status: Published application
- Kind: A1
- Application number: 10/941,457
- Filed: 2004-09-14
- Published: 2006-03-30
- Earliest claimed: 2004-09-14
- Assignees: Synopsys, Inc.; Fujitsu Semiconductor Limited
- Inventors: Mark Lippett; Ayewin Oung
- Web page: https://patentgrep.com/patent/US20060069953A1

## CPC

- 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 11/0724: {in a multiprocessor or a multi-core unit (multiprocessors per se G06F15/80)}
- G06F 11/2242: {in multi-processor systems, e.g. one processor becoming the primary tester (G06F11/2736 takes precedence)}
- G06F 11/3409: {for performance assessment}
- G06F 11/3466: {Performance evaluation by tracing or monitoring}
- G06F 11/348: {Circuit details, i.e. tracer hardware}
- G06F 11/3636: {by tracing the execution of the program}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to a first aspect of the present invention, there is provided a method of monitoring thread execution within a multicore processor architecture which comprises a plurality of interconnected processor elements for processing the threads, the method comprising receiving a plurality of thread parameter indicators indicative of one or more parameters relating to the function and/or identity of a thread or threads comparing at least some of the thread parameter indicators with a first plurality of predefined criteria each representative of an indicator of interest and generating an output consequential upon thread parameter indicators which have been identified to be of interest as a result of the said comparison.

## Claims

### Claim 1

A method of monitoring thread execution within a multicore processor architecture which comprises a plurality of interconnected processor elements for processing the threads, the method comprising:
receiving a plurality of thread parameter indicators indicative of one or more parameters relating to the function and/or identity and/or execution location of a thread or threads;
comparing at least one of the thread parameter indicators with a first plurality of predefined criteria each representative of an indicator of interest; and
generating an output consequential upon thread parameter indicators which have been identified to be of interest as a result of the said comparison.

### Claim 2 (depends on 1)

The method of claim 1, wherein the step of generating an output includes generating control signals for controlling one or more of the plurality of interconnected processor elements.

### Claim 3 (depends on 2)

The method of claim 2, wherein the interconnected processor elements further comprise local instruction level debug logic, and the method further comprises enabling said instruction level debug logic using said processor element control signals.

### Claim 4 (depends on 1)

The method of claim 1, wherein the multicore processor architecture further comprises a thread management and allocation controller including a number of individual sub units, and wherein the step of generating an output includes generating control signals for controlling one or more of the individual sub units of the thread management and allocation controller.

### Claim 5 (depends on 4)

The method of claim 4, wherein the thread parameter indicators are generated by the thread management and allocation controller.

### Claim 6 (depends on 5)

The method of claim 5, wherein the thread parameter indicators are generated by one or more of the individual sub units included within the thread management and allocation controller.

### Claim 7 (depends on 4)

The method of claim 4, wherein the said sub unit control signals include signals to halt one or more of the sub units of the thread management and allocation controller.

### Claim 8 (depends on 7)

The method of claim 7, wherein the said sub unit control signals include signals to step one or more of the sub units of the thread management and allocation controller through the next operation required to manage and allocate threads amongst the processor elements.

### Claim 9 (depends on 1)

The method of claim 1, wherein the step of generating an output includes generating an output which includes a list of the plurality of thread parameter indicators occurring after the comparison.

### Claim 10 (depends on 9)

The method of claim 9, wherein the step of generating the output which includes the list of the plurality of thread parameter indicators occurring after the comparison commences in dependence upon the result of said comparison.

### Claim 11 (depends on 9)

The method of claim 9, wherein the multicore processor architecture further comprises a plurality of user definable thread parameter indicator filters, and the method further comprises the step of filtering the plurality of thread parameter indicators to locate indicators of interest.

### Claim 12 (depends on 11)

The method of claim 11, wherein the multicore processor architecture further comprises a global time signal, and the method further comprises the step of time stamping the plurality of events occurring after the comparison with a code indicative of the global time signal.

### Claim 13 (depends on 12)

The method of claim 12, wherein the multicore processor architecture further comprises a formatter compressor, for formatting and compressing listings of thread parameter indicators, and the method further comprises the step of formatting and compressing the listing of thread parameter indicators outputted from the thread parameter indicator filters.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
receiving input signals from the thread management and allocation controller or from one or more of the processor elements; and altering the plurality of predefined criteria in accordance with the input signals received from the said thread management and allocation controller or processor elements.

### Claim 15 (depends on 1)

The method of claim 1, wherein the multicore processing architecture further comprises a protocol converter for converting signals in accordance with a first protocol, into signals in accordance with a second, different, protocol, the method further comprising:
receiving input signals from the protocol converter; and
altering the plurality of predefined criteria in accordance with the input signals received from a protocol converter.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
comparing at least some of the events with a second plurality of predefined criteria each representative of an indicator of interest; and
generating an output consequential upon thread parameter indicators which have been identified to be of interest as a result of said first and second comparisons.

### Claim 17 (depends on 1)

The method of claim 1, wherein the first or second plurality of predefined criteria include criteria indicative of a particular instance of a particular type of thread.

### Claim 18 (depends on 1)

The method of claim 1, wherein the first or second plurality of predefined criteria include criteria indicative of a particular subunit of the thread management and allocation controller.

### Claim 19 (depends on 17)

The method claim 17, wherein the second plurality of predefined criteria include criteria indicative of a relationship between first and second comparisons.

### Claim 20 (depends on 19)

The method of claim 19, wherein the relationship between first and second comparisons can be any of:
an AND relationship;
an OR relationship; or
an XOR relationship.

### Claim 21

A thread level debug controller for software debug in a multicore processor architecture having a plurality of interconnected processor elements, each element providing resources for processing threads, the debug controller being in communication with each of the said processor elements and comprising monitor logic for monitoring the allocation and execution of threads within the multicore processor architecture.

### Claim 22 (depends on 21)

The debug controller of claim 21, wherein the multicore processor architecture further comprises a thread management and allocation controller, said thread management and allocation controller comprising a number of interconnected individual sub units, and wherein the monitor logic further comprises a plurality of debug machines, each of said debug machines being adapted to monitor a plurality of incoming signals from each of said sub units, indicative of the allocation and execution of threads within the multicore processor architecture, for predefined criteria.

### Claim 23 (depends on 22)

The debug controller of claim 22, wherein the multicore processor architecture further comprises instruction level debug monitoring logic elements local to each of the processor elements, and wherein each of the debug machines is further adapted to provide output control signals to one or more of the instruction level debug monitoring logic elements, dependent upon the detection of a particular criterion.

### Claim 24 (depends on 23)

The debug controller of claim 23, further comprising a plurality of filters for filtering the plurality of incoming signals indicative of the allocation and execution of threads within the multicore processor architecture for signals of interest, and wherein each of the debug machines is still further adapted to provide a filter control signal for controlling which of said plurality of filters are used to filter said plurality of incoming signals.

### Claim 25 (depends on 24)

The debug controller of claim 24, further comprising a formatter compressor, for formatting and compressing the filtered plurality of incoming signals indicative of the allocation and execution of threads within the multicore processor architecture ready for output.

### Claim 26 (depends on 22)

The debug controller of claim 22, wherein each of said plurality of debug machines further comprises a memory for storing criteria ready for detection and a list of action instructions to be carried out by the multicore processor architecture upon detection of each of said criteria.

### Claim 27 (depends on 26)

The debug controller of claim 26, wherein said memory for storing criteria is a thread debug controller dedicated memory for sole use by the thread debug controller.

### Claim 28 (depends on 26)

The debug controller of claim 26, wherein each of said plurality of debug machines further comprises a comparator, for comparing the detection criteria with signals indicative of the allocation and execution of threads within the multicore processor architecture.

### Claim 29 (depends on 28)

The debug controller of claim 28, wherein the output of said plurality of debug machines are interconnected with each other by control logic for controlling a relationship between the outputs of said debug machine comparators, and wherein said relationships between debug machine outputs can be any of:
an AND relationship;
an OR relationship; or
an XOR relationship.

### Claim 30 (depends on 29)

The debug controller of claim 29, further comprising an instruction decoder, for decoding the action instruction associated with the detection of a particular instance of one or more detection criteria being detected within the signals indicative of the allocation and execution of threads within the multicore processor architecture.

### Claim 31 (depends on 24)

The debug controller of claim 24, wherein the plurality of filters comprises a list of criteria masks, each of said filters comprising a set of contiguous masks within the list of masks, and wherein each of said filters may be enabled by assertion of a filter enable signal.

### Claim 32 (depends on 21)

The debug controller of claim 21, further comprising a protocol converter, for converting debug control input signals from an external debug host in accordance with a first protocol, into signals in accordance with a second, different, protocol, suitable for controlling the debug controller.
