摘要 |
<p>The invention relates to a method for simulating a reset signal in a modeled system comprising a reset control module (RCTL) and a module to be reset (CP), the method comprising emitting by a control thread (IPR) of the control module a reset signal (RST), receiving by the module to be reset the reset signal, waking up a thread (PRC) of the module to be reset, waiting for a reset signal, if the thread (PRC) is waken up by the reset signal, activating a reset exception by the thread (PRC), and if a reset exception is raised, making the thread (PRC) wait for a reboot signal (STT), transmitting the reboot signal by the control thread to the module to be reset, and after receiving the reboot signal, activating the thread (PRC) which executes and waits for a reset signal.</p> |