Simulation method and simulation system
AssigneeShanghai Zhaoxin Semiconductor Co., Ltd.
InventorsJunshi Wang, Meng Wang, Zheng Wang
Life of this patent
Estimating the term…
Loading patent…
AssigneeShanghai Zhaoxin Semiconductor Co., Ltd.
InventorsJunshi Wang, Meng Wang, Zheng Wang
Estimating the term…
A simulation method and a simulation system are provided. The simulation system may be divided into an execution model and a processor model based on a JIT emulation engine. The execution model can call the JIT emulation engine to execute instructions, and obtain influence of instructions on a processor architectural status. The processor model may simulate an internal process of a target processor and determine whether to start/end a speculation. The execution model and the processor model may interact through a specific protocol. After the speculation is started, the simulation method may store an application running scene when the speculation is started, and redirect influence of speculation instructions on a memory to a memory snapshot. After the speculation is ended, the simulation method may also restore the application running scene to a status before the speculation is started, and cancel influence of the speculation instructions on the memory.
A simulation method adapted to a simulation system comprising an execution model and a processor model, the simulation method comprising:
A simulation system, comprising:
Dependencies are inferred from the claim text.