# US 2008/0307260 A1 · Semiconductor ic incorporating a co-debugging function and test system

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

- Number: US 2008/0307260 A1
- Document ID: US20080307260A1
- Status: Published application
- Kind: A1
- Application number: 12/193,945
- Filed: 2008-08-19
- Published: 2008-12-11
- Earliest claimed: 2004-02-10
- Assignees: Samsung Electronics Co., Ltd.
- Inventors: Shin-Chan KANG; Sun-Kyu KIM
- Web page: https://patentgrep.com/patent/US20080307260A1

## CPC

- G06F 11/2236: {to test CPU or processors}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A semiconductor IC capable of debugging two or more processors at the same time by means of a single debugger and a semiconductor IC test system. The semiconductor IC includes processors operating at different frequencies, a trigger circuit which causes all of the processors to be in a debugging state when one of the processors is in the debugging state, and a JTAG circuit applying a boundary scan operation to the processors connected to a JTAG pin in series.

## Claims

### Claim 1

A method of debugging semiconductor integrated circuit that includes a first and a second processor, the method comprising:
setting the first processor to a debugging mode using a debug signal inputted from a debug host,
acknowledging a trigger circuit when the first processor is in a debugging mode, and
setting the second processor to a debugging mode by means of the trigger circuit.

### Claim 2 (depends on 1)

The method of claim 1, further comprising acknowledging the trigger circuit when the second processor is in a debugging mode.

### Claim 3 (depends on 2)

The method of claim 2, further comprising interrupting the second processor's operation of acknowledging the first processor of the debugging mode, while the second processor is in a debugging mode.

### Claim 4 (depends on 1)

The method of claim 1, during the first and the second processors are in debugging modes, further comprising:
Inputting a test data from the debug host to the first and the second processor;
processing the inputted test data by the first and second processors ; and
outputting the processed result data.

### Claim 5 (depends on 1)

The method of claim 1, wherein the debug signal is generated according to the JTAG protocol.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first and second processor's operating frequencies are different from each other.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first and second processor include different kinds of cores from each other.

### Claim 8

A debugging system comprising:
a semiconductor integrated circuit including a first and a second processor, and a trigger circuit; and
a debug host configured to debug the first and second processors by means of the trigger circuit, wherein the semiconductor integrated circuit sets the first processor to a debugging mode using a debug signal inputted from a debug host, acknowledges a trigger circuit when the first processor is in a debugging mode, and sets the second processor to a debugging mode by means of the trigger circuit.

### Claim 9 (depends on 8)

The system of claim 8, wherein during the first and the second processors are in debugging modes, the semiconductor integrated circuit further comprises:
Inputting a test data from the debug host to the first and the second processor;
processing the inputted test data by the first and second processors; and
outputting the processed result data.

### Claim 10 (depends on 8)

The system of claim 8, wherein the debug signal is generated according to the JTAG protocol.

### Claim 11 (depends on 8)

The system of claim 8, wherein the first and second processor's operating frequencies are different from each other.

### Claim 12 (depends on 8)

The system of claim 8, wherein the first and second processor include different kinds of cores from each other.

### Claim 13

A semiconductor integrated circuit (IC) supporting a co-debugging function, comprising:
a first processor operating at a first frequency and outputting a first signal indicating whether the first processor is in a debugging state;
a second processor operating at a second frequency different from the first frequency and receiving a second signal adapted to place the second processor in the debugging state;
a trigger circuit receiving the first signal and outputting the second signal, the first signal being received in synchronization with the first frequency and the second signal being synchronized with the second frequency; and,
a joint test action group (JTAG) circuit receiving test data from a JTAG terminal, executing a boundary scan operation of the first and second processors, and outputting test data to the JTAG terminal when the first and second processors are in the debugging state.

### Claim 14 (depends on 13)

The semiconductor IC of claim 13, wherein the first processor is a central processing unit (CPU) and the second processor is a digital signal processor (DSP).

### Claim 15 (depends on 13)

The semiconductor IC of claim 13, wherein the first processor is a first CPU and the second processor is a second CPU.

### Claim 16 (depends on 15)

The semiconductor IC of claim 15, wherein the second processor outputs a third signal indicating whether the second processor is in the debugging state;
wherein the trigger circuit receives the third signal and outputs a fourth signal, the third signal being received in synchronization with the second frequency and the fourth signal being synchronized with the first frequency; and,
wherein the fourth signal causes the first processor to assume the debugging state.

### Claim 17 (depends on 16)

The semiconductor IC of claim 16, wherein the trigger circuit comprises:
a first synchronizing circuit receiving the first signal and outputting the second signal;
a second synchronizing circuit receiving the third signal and outputting the fourth signal; and,
a state machine controlling the first and second synchronizing circuits.

### Claim 18 (depends on 17)

The semiconductor IC of claim 17, wherein the state machine causes the second synchronizing circuit to output the fourth signal at a logic level that is not interpreted by the first processor as a debugging request when the first processor is already in the debugging state.

### Claim 19 (depends on 18)

The semiconductor IC of claim 18, wherein the first synchronizing circuit comprises:
a first flipflop operating in synchronization with a first clock signal, receiving the first signal, and having an output;
a first inverter receiving the output of the first flipflop and having an output;
a first logic gate receiving the first signal and the output of the first inverter and outputting a first pulse signal;
a first series of flipflops operating in synchronization with a second clock signal, receiving a power signal and outputting a second pulse signal;
wherein the first series of flipflops is reset by the first pulse signal;
a second inverter receiving the output of the first series of flipflops and having an output;
a second series of flipflops operating in synchronization with the second clock signal, receiving the output of the second inverter, and outputting a third pulse signal;
a second flipflop operating in synchronization with the second clock signal, receiving the third pulse signal, and outputting a fourth pulse signal;
a third inverter receiving the fourth pulse signal and having an output;
a second logic gate receiving the third pulse signal and the output of the inverter and outputting a first control signal;
a third logic gate receiving the third pulse signal and a second control signal and outputting the second signal; and,
wherein the second series of flipflops and the second flipflop receive a common reset signal.

### Claim 20 (depends on 18)

The semiconductor IC of claim 18, wherein the second synchronizing circuit comprises:
a first flipflop operating in synchronization with a first clock signal, receiving the third signal, and having an output;
a first inverter receiving the output of the first flipflop and having an output;
a first logic gate receiving the third signal and the output of the first inverter and outputting a first pulse signal;
a first series of flipflops operating in synchronization with a second clock signal, receiving a power signal and outputting a second pulse signal;
wherein the first series of flipflops is reset by the first pulse signal;
a second inverter receiving the output of the first series of flipflops and having an output;
a second series of flipflops operating in synchronization with the second clock signal, receiving the output of the second inverter, and outputting a third pulse signal;
a second flipflop operating in synchronization with the second clock signal, receiving the third pulse signal, and outputting a fourth pulse signal;
a third inverter receiving the fourth pulse signal and having an output;
a second logic gate receiving the third pulse signal and the output of the inverter and outputting a first control signal;
a third logic gate receiving the third pulse signal and a second control signal and outputting the fourth signal; and,
wherein the second series of flipflops and the second flipflop receive a common reset signal.

### Claim 21 (depends on 13)

The semiconductor IC of claim 13, wherein the JTAG circuit includes:
a test access port (TAP) controller controlling a boundary scan operation; and
a plurality of boundary scan cells connected in series.

### Claim 22

A semiconductor integrated circuit (IC) test system, comprising:
a debug host executing a debugging operation according to a debugging program;
a host interface converting a signal received from the debug host to a joint test action group (JTAG) interface signal; and
a semiconductor IC receiving the JTAG interface signal from the host interface, wherein the JTAG interface signal causes the semiconductor IC to execute a co-debugging operation.

### Claim 23 (depends on 22)

The semiconductor IC test system of claim 22, wherein the semiconductor IC comprises:
a first processor operating at a first frequency and outputting a first signal indicating whether the first processor is in a debugging state;
a second processor operating at a second frequency different from the first frequency and receiving a second signal adapted to place the second processor in the debugging state;
a trigger circuit receiving the first signal and outputting the second signal, the first signal being received in synchronization with the first frequency and the second signal being synchronized with the second frequency; and,
a JTAG circuit receiving test data from a JTAG terminal, executing a boundary scan operation of the first and second processors, and outputting test data to the JTAG terminal when the first and second processors are in the debugging state.

### Claim 24 (depends on 23)

The semiconductor IC test system of claim 23, wherein the first processor is a central processing unit (CPU) and the second processor is a digital signal processor (DSP).

### Claim 25 (depends on 23)

The semiconductor IC test system of claim 23, wherein the first processor is a first CPU and the second processor is a second CPU.

### Claim 26 (depends on 25)

The semiconductor IC test system of claim 25, wherein the second processor outputs a third signal indicating whether the second processor is in the debugging state;
wherein the trigger circuit receives the third signal and outputs a fourth signal, the third signal being received in synchronization with the second frequency and the fourth signal being synchronized with the first frequency; and,
wherein the fourth signal causes the first processor to assume the debugging state.

### Claim 27 (depends on 26)

The semiconductor IC test system of claim 26, wherein the trigger circuit comprises:
a first synchronizing circuit receiving the first signal and outputting the second signal;
a second synchronizing circuit receiving the third signal and outputting the fourth signal; and,
a state machine controlling the first and second synchronizing circuits.

### Claim 28 (depends on 27)

The semiconductor IC test system of claim 27, wherein the state machine causes the second synchronizing circuit to output the fourth signal at a logic level that is not interpreted by the first processor as a debugging request when the first processor is already in the debugging state.

### Claim 29 (depends on 28)

The semiconductor IC test system of claim 28, wherein the first synchronizing circuit comprises:
a first flipflop operating in synchronization with a first clock signal, receiving the first signal, and having an output;
a first inverter receiving the output of the first flipflop and having an output;
a first logic gate receiving the first signal and the output of the first inverter and outputting a first pulse signal;
a first series of flipflops operating in synchronization with a second clock signal, receiving a power signal and outputting a second pulse signal;
wherein the first series of flipflops is reset by the first pulse signal;
a second inverter receiving the output of the first series of flipflops and having an output;
a second series of flipflops operating in synchronization with the second clock signal, receiving the output of the second inverter, and outputting a third pulse signal;
a second flipflop operating in synchronization with the second clock signal, receiving the third pulse signal, and outputting a fourth pulse signal;
a third inverter receiving the fourth pulse signal and having an output;
a second logic gate receiving the third pulse signal and the output of the inverter and outputting a first control signal;
a third logic gate receiving the third pulse signal and a second control signal and outputting the second signal; and,
wherein the second series of flipflops and the second flipflop receive a common reset signal.

### Claim 30 (depends on 28)

The semiconductor IC test system of claim 28, wherein the second synchronizing circuit comprises:
a first flipflop operating in synchronization with a first clock signal, receiving the third signal, and having an output;
a first inverter receiving the output of the first flipflop and having an output;
a first logic gate receiving the third signal and the output of the first inverter and outputting a first pulse signal;
a first series of flipflops operating in synchronization with a second clock signal, receiving a power signal and outputting a second pulse signal;
wherein the first series of flipflops is reset by the first pulse signal;
a second inverter receiving the output of the first series of flipflops and having an output;
a second series of flipflops operating in synchronization with the second clock signal, receiving the output of the second inverter, and outputting a third pulse signal;
a second flipflop operating in synchronization with the second clock signal, receiving the third pulse signal, and outputting a fourth pulse signal;
a third inverter receiving the fourth pulse signal and having an output;
a second logic gate receiving the third pulse signal and the output of the inverter and outputting a first control signal;
a third logic gate receiving the third pulse signal and a second control signal and outputting the fourth signal; and,
wherein the second series of flipflops and the second flipflop receive a common reset signal.

### Claim 31 (depends on 23)

The semiconductor IC test system of claim 23, wherein the JTAG circuit includes:
a test access port (TAP) controller controlling a boundary scan operation; and
a plurality of boundary scan cells connected in series.
