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

Method and device for implementing single-chip microcomputer simulation using instruction replacement

A technology of instruction replacement and single-chip microcomputer, applied in the field of single-chip microcomputer simulation, can solve the problem of fewer types of simulation chips, and achieve the effect of improving authenticity and increasing types.

Inactive Publication Date: 2005-01-26
长沙菊阳微电子有限公司
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The use of Bondout simulation technology to produce simulation devices requires a dedicated simulation chip. On the basis of the standard chip, the dedicated simulation chip adds ports and hardware circuits for simulation. It does not occupy the input and output ports (I / O) of the standard chip. , but lead out the simulation bus with a dedicated I / O pin, which does not occupy user resources, and the authenticity of the simulation is good, but it can only simulate standard chips, and there are few types of chips that can be simulated; use HOOKS simulation technology to produce simulation devices, It needs to be authorized by Philips, and the simulation CPU must contain hardware circuits that support HOOKS technology. When the single-chip microcomputer with HOOKS technology enters the HOOKS simulation state, the address data bus ports P0 and P2 will output / input the bus and P0, P2 in time-sharing For the value of the P2 port, the emulator uses hardware circuits to expand the multiplexed P0 and P2 ports into independent simulation buses and user P0 and P2 ports. It can emulate most of the Philips 51 series single-chip microcomputers, but it cannot for many single-chip microcomputers that do not support HOOKS technology. Simulation or simulation is not real, and there are few types of chips that can be simulated

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
  • Method and device for implementing single-chip microcomputer simulation using instruction replacement
  • Method and device for implementing single-chip microcomputer simulation using instruction replacement
  • Method and device for implementing single-chip microcomputer simulation using instruction replacement

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0012] Embodiment: The present invention will be described in further detail by taking the simulated 51 series single-chip microcomputer as an example below in conjunction with the accompanying drawings.

[0013] As shown in Fig. 1, the present invention downloads the user target code to the external program memory and synchronous preprocessing memory through the simulation monitoring and communication interface circuit. The address line of the synchronous preprocessing memory is the same as that of the external program memory, and the synchronous preprocessing memory is used to store the operands of each instruction except the operation code. The simulation CPU is started by the simulation monitoring circuit to execute the program in the external program memory. Instruction replacement and port reconstruction circuit monitors when emulation CPU is about to read the operation code of new instruction, judges whether this new instruction is to carry out input and output (I / O) to...

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

This invention discloses a kind of method and apparatus that can realize Single Chip Micyoco simulation by command replacement. The apparatus comprises simulating CPU, external program storage and synchronous preprocessing storage, command replacement and port reproduction circuit, simulation monitoring circuit, user-board simulation interface. The method is: when the command replacement and port reproduction circuit monitors that the simulating CPU will execute the import or export operation to data bus port or address bus port, the command replacement circuit replaces it with the other command immediately. And under the control of prot reproduction circuit, the reproduction port finishes the same import or export operation.

Description

technical field [0001] The invention mainly relates to the field of single-chip computer simulation, in particular to a method and device for realizing single-chip computer simulation by replacing instructions. Background technique [0002] With the development of computer technology, there are more and more types of single-chip microcomputers produced by various single-chip microcomputer manufacturers, and the internal resources are more and more abundant. In order to better develop and use these single-chip microcomputers, the support of emulation devices is needed. At present, domestic single-chip simulation devices mainly use Bondout simulation technology and HOOKS simulation technology. The use of Bondout simulation technology to produce simulation devices requires a dedicated simulation chip. On the basis of the standard chip, the dedicated simulation chip adds ports and hardware circuits for simulation. It does not occupy the input and output ports (I / O) of the stand...

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 长沙菊阳微电子有限公司
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More