# US 2016/0259004 A1 · Debugger and debugging system

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

- Number: US 2016/0259004 A1
- Document ID: US20160259004A1
- Status: Published application
- Kind: A1
- Application number: 14/669,087
- Filed: 2015-03-26
- Published: 2016-09-08
- Earliest claimed: 2015-03-05
- Assignees: Advanced Digital Chips Inc.
- Applicants: Advanced Digital Chips Inc.
- Inventors: Soo Hyun Kum; Sang Wan Kim; Young Ho Cha; Kwan Young Kim; Byung Gueon Min
- Web page: https://patentgrep.com/patent/US20160259004A1

## CPC

- G01R 31/31705: {Debugging aspects, e.g. using test circuits for debugging, using dedicated debugging test circuits (generation of test sequences therefor G01R31/31835, using scan test therefor G01R31/318544)}
- G01R 31/31722: {Addressing or selecting of test units, e.g. transmission protocols for selecting test units (for scan test G01R31/318558)}
- G01R: MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES (indicating correct tuning of resonant circuits H03J3/12)

## Abstract

Provided is a debugging system including: a processor; and a debugger arranged between the processor and an external bus to determine whether or not an address of a job request including an instruction request or a data access request transferred from the processor to the external bus is hit on a preset address, wherein if the address of the job request is hit on the preset address, the debugger does not transfer the job request to the external bus, so that the processor is allowed to be stopped.

## Claims

### Claim 1

A debugging system comprising:
a processor; and
a debugger arranged between the processor and an external bus to determine whether or not an address of a job request including an instruction request or a data access request transferred from the processor to the external bus is hit on a preset address, wherein if the address of the job request is hit on the preset address, the debugger does not transfer the job request to the external bus, so that the processor is allowed to be stopped.

### Claim 2 (depends on 1)

The debugging system according to claim 1, wherein if the processor has a pipeline structure, the debugger generates a plurality of virtual instructions corresponding to at least a depth of the pipeline which is of a no-operation (NOP) type and sequentially transmits a plurality of virtual ready completion signals including the respective virtual instructions to allow the pipeline to be in an execution completion state.

### Claim 3 (depends on 2)

The debugging system according to claim 2,
wherein the debugger further transfers a PC (program counter) stop signal for stopping the processor from generating a PC together with the respective virtual ready completion signal, and
wherein if the processor receives the PC stop signal, the processor stops generating the PC for a next execution address and re-transmits the job requests of which the number corresponds to the depth of the pipeline to the debugger.

### Claim 4 (depends on 1)

The debugging system according to claim 1, wherein if the address of the job request is not hit on the preset address, the debugger transfers the job request to the external bus and receives a ready completion signal which is a response signal according to the job request from the external bus to transfer the ready completion signal to the processor.

### Claim 5

A debugger arranged between a processor and an external bus, comprising a determination unit which determines whether or not an address of a job request including an instruction request or a data access request transferred from the processor to the external bus is hit on a preset address, wherein if the address of the job request is hit on the preset address, the determination unit does not transfer the job request to the external bus, so that the processor is allowed to be stopped.

### Claim 6 (depends on 5)

The debugger according to claim 5, further comprising a generation unit which generates a plurality of virtual instructions corresponding to at least a depth of the pipeline which is of a no-operation (NOP) type according to a command of the determination unit if the job request is an instruction request and the processor has a pipeline structure,
wherein the determination unit transfers the virtual instructions to the pipeline of the processor to allow the processor to be in an execution completion state.

### Claim 7 (depends on 6)

The debugger according to claim 6,
wherein the generation unit further generates a PC stop signal for stopping the processor from generating a PC (program counter) and a ready completion signal, and
wherein the determination unit transfers the virtual instructions, the PC stop signal, and the ready completion signal to the processor.

### Claim 8 (depends on 5)

The debugger according to claim 5, wherein if the address of the job request is not hit the preset address, the determination unit transfers the job request to the external bus and receives a ready completion signal which is a response signal according to the job request from the external bus to transfer the ready completion signal to the processor.

### Claim 9

A debugger comprising a determination unit which receives a to-be-executed instruction and an address of the to-be-executed instruction from a fetch unit and determines whether or not the address of the to-be-executed instruction is hit on a preset address, wherein if the address of the to-be-executed instruction is hit on the preset address, the determination unit does not transfer the to-be-executed instruction to a backend unit including a decoder and an execution unit, so that the fetch unit and the backend unit are allowed to be in a stopped state at the preset address.

### Claim 10 (depends on 9)

The debugger according to claim 9, further comprising a generation unit which generates a plurality of virtual instructions corresponding to a depth of a pipeline which is of a no-operation (NOP) type if the address of the to-be-executed instruction is hit on the preset address,
wherein the determination unit transfers the virtual instructions one by one instead of the to-be-executed instruction.

### Claim 11 (depends on 9)

The debugger according to claim 9, wherein the determination unit intercepts a data access request transferred from the fetch unit to an external bus, determines whether or not an address of the data access request is hit on another preset address, and allow the data access request not to be transferred to the external bus if the address of the data access request is hit on another preset address.
