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

Hardware breakpoint circuit for debugging program

A technology for hardware breakpoints and program debugging, applied in the direction of software testing/debugging, etc., 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-07-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 for debugging program
  • Hardware breakpoint circuit for debugging program
  • Hardware breakpoint circuit for debugging program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0029] Embodiment: a kind of hardware breakpoint circuit for debugging program

[0030] A first breakpoint register for storing first breakpoint condition information;

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

[0032] A second breakpoint register for storing second breakpoint condition information;

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

[0034] The breakpoint control register is used to control the occurrence order of the first breakpoint and the second breakpoint, and the breakpoint control register is configured as the first control information or the second control information; the first control information ...

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 relates to a hardware breakpoint circuit for debugging a program, which comprises: a first breakpoint register which is used for storing condition information of a first breakpoint, a first breakpoint comparator, a second breakpoint register which is used for storing condition information of a second breakpoint, a second breakpoint comparator, a breakpoint control register which is used for controlling the occurrence sequence of the first breakpoint and the second breakpoint, a first coincidence gate, a second coincidence gate, a third coincidence gate which is used for outputting a first breakpoint request signal when information from a second alternation gate and a first breakpoint condition generation signal are both valid, a fourth coincidence gate which is used for outputting a second breakpoint request signal when information from a third alternation gate and a second breakpoint condition generation signal are both valid, and a first alternation gate which is used for transmitting a breakpoint request signal to a microcontroller. The invention realizes that the breakpoint request can not be transmitted when other breakpoints occur until the conditions for one breakpoint occur, thereby greatly facilitating the simulation debugging and shortening the product development cycle.

Description

technical field [0001] The invention relates to the technical field of integrated circuit testing, in particular to a hardware breakpoint circuit for debugging programs. 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 dat...

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 苏州国芯科技股份有限公司