Simulation debugging system for special function register

A special function and register technology, applied in the field of smart cards, can solve the problems of user program debugging and execution errors, not supporting observation/modification, etc., and achieve the effect of reliable debugging

Inactive Publication Date: 2012-05-23
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF2 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If you use the existing emulator and integrated development environment debugging software to debug the user program, for the SFR implemented in FIFO mode, since only one operation of writing/reading SFR data will be performed in the SFR observation window, even if there are many in the user program It is well guaranteed that the number of times of writing/reading the SFR implemen

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
  • Simulation debugging system for special function register
  • Simulation debugging system for special function register

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] What needs to be understood first is that the working state of the emulator is divided into two states: running and monitoring, and the switching of the working state of the emulator is controlled by the user. When the user controls the emulator to enter the running state, the emulator runs the user program at full speed. At this time, the integrated development environment debugging software will not interfere with the emulator's execution of the user program. The effect of the user program and the actual product processor chip are basically the same. Consistent; when the user controls the emulator to stop running the user program, the emulator exits the running state and enters the monitoring state, and the emulator no longer executes the user program. At this time, the user can observe / modify SFR, memory and other debugging in the integrated development environment debugging software Operation, the integrated development environment debugging software will control the...

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 simulation debugging system for a special function register (SFG). All sub-SFRs are displayed in an SFR observing window in a list form. Integrated development environment debugging software continuously reads numerical values of the sub-SFRs in the SFR which is realized by a first in first out (FIFO) way, and the number of reading times is the number of all the sub-SFRs in the SFR. The integrated development environment debugging software displays the group of numerical values of the sub-SFRs in a numerical value list in the SFR observing window. After a user modifies the numerical value of a certain sub-SFR in the numerical value list, the integrated development environment debugging software continuously writes a new integral group of numerical values of the sub-SFRs into the SFR which is realized in the FIFO way, and the number of writing times is the number of the sub-SFRs in the SFR which is realized in the FIFO way. By the simulation debugging system, the numerical value of each sub-SFR in the SFR can be observed/modified in the SFR observing window without influencing subsequent operation on the SFR in the running of a user program.

Description

technical field [0001] The invention relates to the field of smart cards, in particular to a simulation debugging system of a special function register (SFR Special Function Register) realized in a FIFO First In First Out (FIFO First In First Out) manner. 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 tools used are generally the processor chip emulator and the debugging software on the user's computer—integrated development environment. The emulator uses an emulation chip containing various functions of the product processor chip to simulate the working behavior of the product processor chip, which is very close to the product processor chip in terms of function and performance. [0003] The processor chip contains special function registers (SFRs) that implement various functions, and the size of the SFR space is limited. For example, the SFR space of a general-purpose...

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 Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products