Unlock instant, AI-driven research and patent intelligence for your innovation.

Hardware breakpoint circuit used for emulation debugging

A hardware breakpoint, breakpoint technology, applied in software testing/debugging and other directions, can solve problems such as the inability to meet the flexibility of breakpoint simulation and debugging, and achieve the effect of shortening the cycle

Active Publication Date: 2012-01-04
苏州国芯科技股份有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the prior art, the online simulation debugging module often configures the relevant breakpoint registers, and can send a breakpoint request as long as a breakpoint condition is detected, which cannot satisfy the flexibility of breakpoint simulation debugging

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Hardware breakpoint circuit used for emulation debugging
  • Hardware breakpoint circuit used for emulation debugging
  • Hardware breakpoint circuit used for emulation debugging

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0032] Embodiment: a hardware breakpoint circuit for emulation debugging

[0033] A hardware breakpoint circuit for emulation debugging, comprising:

[0034] a first breakpoint register, a first breakpoint comparator, a first breakpoint counter, a first reference value comparator, a first AND gate, a second AND gate and a first NOT gate;

[0035] The first breakpoint register is used to store first breakpoint condition information;

[0036] The first breakpoint comparator generates a first breakpoint condition generation signal according to a comparison result between information from the bus and information in the first breakpoint register;

[0037] The first breakpoint counter is used to set the number of occurrences of the first breakpoint condition, and the breakpoint counter subtracts 1 from the current value of the counter according to the output information from the first AND gate;

[0038] The first reference value comparator, one input terminal of the comparator rec...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a hardware breakpoint circuit used for emulation debugging. The circuit comprises a first breakpoint register, a first breakpoint comparator, a second breakpoint register, a second breakpoint comparator, a first breakpoint counter, a first AND gate, a first NOT gate, a second breakpoint counter, a third AND gate, a second NOT gate, a second AND gate, a fourth AND gate and a first OR gate, wherein the first breakpoint register is used for storing first breakpoint condition information; the second breakpoint register is used for storing second breakpoint condition information; the first breakpoint counter is used for setting the times that a first breakpoint condition happens; the second breakpoint counter is used for setting the times that a second breakpoint condition happens; and the first OR gate is used for sending a breakpoint request signal to a microcontroller. The hardware breakpoint circuit can send the breakpoint request signal to the microcontroller after a certain breakpoint condition happens for N times, so that great convenience is brought to the emulation debugging and a product development cycle is shortened.

Description

technical field [0001] The invention relates to the technical field of integrated circuit testing, in particular to a hardware breakpoint circuit for emulation debugging. Background technique [0002] Since the 1980s, with the widespread application of computer embedded systems, microcontrollers (MCU, microcontroller unit / single-chip microcomputer) have developed rapidly. The early single-chip microcomputer is a single-chip integrated circuit device of the computer designed according to the requirements of embedded application technology, that is, all the characteristic devices of the electronic computer are integrated on one chip, so it is vividly called a single-chip microcomputer. With the increasing application range of single-chip microcomputers, the requirements for its simulation and debugging functions are also gradually increasing. [0003] The simulation debugging function means that when the program executes to the specified line, or when the preset address or da...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 蒋小梅于麦口肖佐楠郑茳
Owner 苏州国芯科技股份有限公司