Method and system for instruction set simulation with concurrent attachment of multiple debuggers
AssigneeSynopsys, Inc.
InventorDietmar Petras
Life of this patent
Estimating the term…
Abstract
An ISS (instruction set simulator) debugging method. The method includes executing a plurality of instructions of an ISS (instruction set simulator). For each instruction, an ISS simulation state is synchronized to a simulation time when the execution of the instruction is finished. At least two debugger components are executed in conjunction with the execution of the ISS, wherein the debugger components are each coupled to control the ISS.
Claims14
A computer implemented method for ISS (instruction set simulator) debugging, the method comprising:
- executing an ISS (instruction set simulator) that runs a simulation of a multicore target device;
- executing a plurality of debugger components in conjunction with the execution of the ISS, each of the plurality of debugger components coupled to independently control the ISS via the ISS run control component;
- executing the plurality of debugger components in a run mode;
- and
- responsive to a debugger component from the plurality of debugger components transitioning from the run mode to a stop mode:
- setting a Boolean configuration flag based on the debugger component transitioning to stop mode, and
- completely stopping, by the ISS run control component, the ISS and the simulation of the multicore device based on the Boolean configuration flag, while the ISS and the simulation of the multicore device are completely stopped, at least a different debugger component from the plurality of debugger components continuing to execute in the run mode.
A non-transitory computer readable storage medium, the computer readable storage medium having computer readable instructions therein, which when executed by a processor of a computer system causes the performance of steps comprising:
- executing an ISS (instruction set simulator) that runs a simulation of a multicore target device;
- executing a plurality of debugger components in conjunction with the execution of the ISS, each of the plurality of debugger components coupled to independently control the ISS via the ISS run control component;
- executing the plurality of debugger components in a run mode;
- and
- responsive to a debugger component from the plurality of debugger components transitioning from the run mode to a stop mode:
- setting a Boolean configuration flag based on the debugger component transitioning to stop mode, and
- completely stopping, by the ISS run control component, the ISS and the simulation of the multicore device based on the Boolean configuration flag, while the ISS and the simulation of the multicore device are completely stopped, at least a different debugger component from the plurality of debugger components continuing to execute in the run mode.
A system for ISS (instruction set simulator) debugging, the system comprising:
- a computer processor;
- and
- a non-transitory computer-readable storage medium having computer program instructions that when executed by a computer processor cause the performance of steps comprising:
- executing an ISS (instruction set simulator) that runs a simulation of a multicore target device;
- executing a plurality of debugger components in conjunction with the execution of the ISS, each of the plurality of debugger components coupled to independently control the ISS via the ISS run control component;
- executing the plurality of debugger components in a run mode;
- and
- responsive to a debugger component from the plurality of debugger components transitioning from the run mode to a stop mode:
- setting a Boolean configuration flag based on the debugger component transitioning to stop mode, and
- completely stopping, by the ISS run control component, the ISS and the simulation of the multicore device based on the Boolean configuration flag, while the ISS and the simulation of the multicore device are completely stopped, at least a different debugger component from the plurality of debugger components continuing to execute in the run mode.
Dependencies are inferred from the claim text.