When 'kill' or 'stop' is called, it sets a flag in 'config'. After flag is set, pipeline will exit from 'run' function when there is any interrupt or periodic switch to QEMU is done at that point it will check if 'stop' or 'kill' flag is set or not. So few more cycles will be executed until the simulation is completed.
- Avadh On Tue, Jun 14, 2011 at 2:59 AM, Chia-Chen CHOU <[email protected]> wrote: > hi, everyone, > > After entering the ptlsim pipeline stage by using ./start_sim command, > marss starts the cycle-accurate simulation. > I want to know how the stop_sim command works. How does it end the pipeline > in ptlsim? > I know it uses kill_simulation function, but does the mechanism wait for > run() function in ptlsim to its end or does the mechanism force the pipeline > to quit immediately? > > thanks. > > choucc > > > _______________________________________________ > http://www.marss86.org > Marss86-Devel mailing list > [email protected] > https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel > >
_______________________________________________ http://www.marss86.org Marss86-Devel mailing list [email protected] https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel
