Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Simulator for displaying debugging information in real time

A technology for displaying and debugging information in real time, which is applied in the field of emulators, can solve problems such as huge differences, slowing down the speed of emulation chip user programs, and the inability of emulation chips to execute user programs, so as to improve debugging efficiency and ensure authenticity

Inactive Publication Date: 2011-06-29
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the emulation chip of the existing emulator executes the user program, the emulator does not communicate with the emulation chip, so the emulator cannot take out various debugging information of the emulation chip in real time and send it to the debugging software on the PC side for the user to observe in real time
If the emulator and the emulation chip communicate to obtain debugging information in real time when the emulation chip is executing the user program, since the emulation chip processor is required to participate in the communication process, the emulation chip cannot execute the user program during the communication, which will greatly reduce the execution time of the emulation chip by the user. The speed of the program makes the effect of the user program executed on the emulator significantly different from that executed on the actual product chip, which is unacceptable to the user

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
  • Simulator for displaying debugging information in real time
  • Simulator for displaying debugging information in real time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] As shown in the figure, in an embodiment, the emulator 1 for displaying debugging information in real time includes: an emulation chip 2 , an emulation management module 3 , and debugging software installed on a PC 5 . The user program is executed in the emulation chip 2 .

[0013] The emulation chip 2 includes a mirror register unit group 4 composed of several mirror register units. The mirror register unit group 4 is invisible to the user program, and the user program cannot operate each mirror register unit in the mirror register unit group 4 , so it will not affect the execution effect of the user program in the emulation chip 2 . Each mirror register unit in the mirror register unit group 4 is a mirror image of some registers and memory units in the emulation chip 2 . When the emulation chip 2 executes the user program, some registers and / or memory units are rewritten. If there are mirror register units corresponding to these registers and memory units in the mirr...

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 simulator for displaying debugging information in real time. The simulator comprises a simulation chip, a simulation management module and debugging software of a personal computer (PC); the simulation chip comprises a group of mirror image register units invisible for user programs, and the user programs cannot operate the mirror image register units; the mirror image register units are mirror images of certain register or memory units in the simulation chip; when the simulation chip rewrites the numerical values of the register or memory units, the numerical values in the mirror image register units corresponding to the register or memory units are also rewritten; when the simulation chip executes the user programs at full speed, the simulation management module reads the numerical value of each of the mirror image register units through an information reading channel; and the simulation management module transmits data to the debugging software of the PC in real time through a data channel, and the debugging software displays the received data in real time. A user can observe the real-time change condition of the concerned debugging information in operation of the user programs.

Description

technical field [0001] The invention relates to the field of emulators, in particular to an emulator capable of displaying debugging information concerned by customers in real time. Background technique [0002] There is a user program developed by the user in the processor chip. In the writing and debugging of the user program, the tool used is generally a processor chip emulator. The emulator uses an emulation chip that replaces the processor chip product chip, cooperates with the emulation control module, user program memory and other components in the emulator, and the debugging software on the PC side to realize the emulation debugging of the user program. The observation of debugging information is a basic and very important debugging method provided by the emulator. These debugging information include changes in data values ​​in memory, changes in register values, changes in program running pointers, and so on. In the existing emulator, the function of debugging info...

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
IPC IPC(8): G06F11/36
Inventor 许国泰贾峻
Owner SHANGHAI HUAHONG INTEGRATED CIRCUIT
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products