Simulator for simulating register with specific function

A technology of special functions and registers, applied in the field of emulators, can solve problems such as affecting the correct operation of user programs, not providing SFR display and modification functions, etc., to achieve the effect of improving debugging efficiency

Inactive Publication Date: 2008-06-25
SHANGHAI HUAHONG INTEGRATED CIRCUIT
View PDF1 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to avoid confusion caused by displaying and modifying SFRs and affect the correct operation of user programs, the existing emulators usually do not provide such functions for displaying and modifying SFRs implemented in FIFO on the simulation interface.

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 simulating register with specific function

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] As shown in the figure, the emulator 1 for emulating special function registers of the present invention includes an emulation chip 2 and an emulator processor 3 . The emulation chip 2 includes a microprocessor core 4 consistent with the product chip, an SFR 6 implemented in a FIFO manner, and also includes a register 5 dedicated to implementing emulation functions. Register 5 and SFR6 communicate with the microprocessor core. Register 5 is a general-purpose register, and the register 5 stores the current read / write operation FIFO count pointer value of SFR6. There is an access channel between the emulator processor 3 and the emulator chip 2 , and the emulator processor 3 can read the data stored in the register 5 through the access channel. The simulator 1 is connected to the computer 7 , the simulator 1 can send data to the simulation interface on the computer 7 , and the computer 7 can also transmit the data on the simulation interface to the simulator 1 . The comp...

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 present invention discloses a simulator simulating special function register, comprising a simulation chip and a simulator processor. A general register is arranged inside the simulation chip, and when the simulator is in monitoring state, a microprocessor core of the simulation chip can automatically store a current reading/writing operation FIFO count pointer value of a SFR realized in the FIFO mode into the register. After the microprocessor core of the simulation chip executes reading/writing operation to the SFR, the microprocessor core can automatically update the value in the register. The simulator processor can automatically read the value stored in the register. The simulator processor can send commands or commands and data to the simulation chip, and the microprocessor core carries out reading/writing operation to the SFR. The present invention provides reliable and convenient means for debugging the SFR of the type, and can effectively improve the debugging efficiency of user programs.

Description

technical field [0001] The invention relates to an emulator for simulating special function registers, in particular to an emulator for realizing emulation functions for special function registers implemented in a microprocessor in a first-in, first-out manner. Background technique [0002] With the continuous development of microprocessor chip technology, many new 51 series microprocessors are equipped with a series of special function registers (SFRs) of standard 8051, and are also in the SFR area of ​​the microprocessor for practical application needs. A lot of new SFRs have been expanded to realize various special chip functions. However, with the continuous improvement of the functional requirements of the microprocessor, more new SFRs need to be expanded in the SFR area, but except for the SFRs that must be occupied to be compatible with the standard 8051, the remaining space in the microprocessor SFR area is limited. Unlimited addition of new SFRs is not allowed. Th...

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 Applications(China)
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