METHOD AND DEVICE FOR SIMULATING A RESET SIGNAL IN A SIMULATED SYSTEM ON CHIP
First Claim
1. A method comprising:
- emitting a reset signal by a control thread of a control module;
transmitting the reset signal to a module to be reset;
waking up a thread of the module to be reset, which is waiting for the reset signal;
if the thread of the module to be reset is woken up by the reset signal, raising a reset exception by the thread of the module to be reset;
if the reset exception is raised, causing the thread of the module to be reset to wait for a reboot signal;
emitting the reboot signal by the control thread;
transmitting the reboot signal to the control module, andafter the module to be reset receives the reboot signal, activating the thread of the module to be reset, which executes and waits for the reset signal.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for simulating a reset signal in a modeled system comprises a reset control module and a module to be reset. Operations of the system include emitting by a control thread of the control module a reset signal, receiving by the module to be reset the reset signal, waking up a thread of the module to be reset, and waiting for a reset signal. If the thread is woken up by the reset signal further operations include activating a reset exception by the thread, and if a reset exception is raised, making the thread wait for a reboot signal, transmitting the reboot signal by the control thread to the module to be reset, and after receiving the reboot signal, activating the thread which executes and waits for a reset signal.
-
Citations
20 Claims
-
1. A method comprising:
-
emitting a reset signal by a control thread of a control module; transmitting the reset signal to a module to be reset; waking up a thread of the module to be reset, which is waiting for the reset signal; if the thread of the module to be reset is woken up by the reset signal, raising a reset exception by the thread of the module to be reset; if the reset exception is raised, causing the thread of the module to be reset to wait for a reboot signal; emitting the reboot signal by the control thread; transmitting the reboot signal to the control module, and after the module to be reset receives the reboot signal, activating the thread of the module to be reset, which executes and waits for the reset signal. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A system comprising:
-
a reset control module; and a module to be reset in operable communication with the reset control module, the reset control module comprising a thread configured to emit reset signals, the module to be reset comprising a thread to be reset after the module to be reset receives a reset signal, wherein the reset control module and module to be reset are configured to; wake up the thread to be reset by the reset signal of the reset control module; if the thread to be reset is woken up by the reset signal, raise a reset exception by the thread to be reset; if a reset exception is raised, cause the thread to be reset to wait for a reboot signal; emit the reboot signal by a control thread of the reset control module, which is transmitted to the reset control module; and after the module to be reset receives the reboot signal, activate the thread to be reset, which executes and waits for the reset signal. - View Dependent Claims (10, 11, 12)
-
-
13. A non-transitory computer readable medium having executable instructions thereon for performing a method comprising:
-
emitting a reset signal by a control thread of a control module; transmitting the reset signal to a module to be reset; waking up a thread of the module to be reset, which is waiting for the reset signal; if the thread of the module to be reset is woken up by the reset signal, raising a reset exception by the thread of the module to be reset; if the reset exception is raised, causing the thread of the module to be reset to wait for a reboot signal; emitting the reboot signal by the control thread; transmitting the reboot signal to the control module; and after the module to be reset receives the reboot signal, activating the thread of the module to be reset, which executes and waits for the reset signal. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20)
-
Specification