Check patentability & draft patents in minutes with Patsnap Eureka AI!

Simulation method and device for realizing processor simulation core

A processor and simulation technology, applied in the field of simulation processing, can solve problems such as poor flexibility in debugging operations, and achieve the effect of improving flexibility

Active Publication Date: 2020-08-14
直觉系统科技(昆山)有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the prior art, when using the processor emulation core virtual operating system for emulation, the flexibility of debugging operation is poor

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 method and device for realizing processor simulation core
  • Simulation method and device for realizing processor simulation core

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] figure 1 It is a flow chart of a simulation method for implementing a processor simulation core provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where a simulation check program is used for simulation. This method can be executed by a server, such as figure 1 As shown, the method specifically includes the following steps:

[0051] S1, obtain the program counter value according to the target emulation program.

[0052] Wherein, a program counter (Program Counter, PC) may be used to store addresses of instructions. In this embodiment, when the target program is executed, the initial value of the PC is the address of the first instruction of the target program. During sequential execution, the server first fetches an instruction from the memory according to the instruction address pointed to by the PC, and then analyzes and executes the instruction. instruction, and the PC value points to the next instruction to be execute...

Embodiment 2

[0076] figure 2 It is a schematic structural diagram of an emulation device for implementing a processor emulation core provided by Embodiment 2 of the present invention. Such as figure 2 As shown, the device includes: a program counter value acquisition module 210 , a simulation instruction acquisition module 220 , a breakpoint processing module 230 , a running state switching module 240 and a simulation instruction execution module 250 .

[0077] The program counter value acquisition module 210 is used to acquire the program counter value according to the target simulation program;

[0078] The simulation instruction obtaining module 220 is used to obtain the simulation instruction from the memory according to the program counter value;

[0079] The breakpoint processing module 230 is used to perform breakpoint processing according to the simulation state of the breakpoint execution type and the simulation core when the simulation instruction is a breakpoint instruction;...

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 embodiment of the invention discloses a method and device for the emulation of the processor emulation core actualization. The method comprises the steps that S1, the program counter values are obtained according to the target emulator; S2, emulation instructions are obtained from a memory unit according to the program counter values; S3, if the emulation instructions are breakpoint instructions, breakpoints are handled according to the types of breakpoints and the emulation statuses of the emulation core; S4, the running status is switched to the default running status by the emulation core; S5, if the emulation instructions are non-breakpoint instructions, the emulation instructions are executed, and step S1 is recovered and executed, until the emulation results are obtained. By the method for the emulation of the processor emulation core actualization as provided, the breakpoint instruction is added in the emulator program, the debugging of the program can be handled in sub-sections, and the flexibility of the emulation process is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of simulation processing, and in particular to a simulation method and device for realizing a processor simulation core. Background technique [0002] The processor emulation core virtual operating system is a software system that can completely simulate the embedded hardware system. Users can simulate and run embedded software on the system, and can test and debug embedded software without corresponding hardware. By using this system, users can not only greatly shorten the development cycle of embedded software, but also avoid high development costs of auxiliary test hardware and greatly reduce system costs. This system can be widely used in embedded system development fields such as aviation, aerospace, weaponry, automobiles, robots, and industrial control, to improve labor production efficiency, reduce costs, and enhance product competitiveness in these industries. [0003] In the ...

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): G06F9/455
CPCG06F9/45516
Inventor 吴翔虎
Owner 直觉系统科技(昆山)有限公司
Features
  • R&D
  • 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