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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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;...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com


