I have fixed this issue (at least for now) and you should be able to switch
back and forth between emulation and simulation.
But remember that your stats file will be re-written once you switch back to
simulation mode unless you give a new stats file name using -stats option.
Also if you use -stopinsns flag to stop simulation, you'll need to reset
that flag to higher value when you restart your simulation.

- Avadh

On Thu, May 12, 2011 at 10:50 AM, Hui Kang <[email protected]> wrote:

>  Hi,
> This maybe a bug in ooocore.cpp.
>
> I started a simulation by "simconfig -run -stopinsns 10m -stats
> stats.file".
> The simulation finished successfully and return to Qemu console. When I
> tried to use the same simconfig command, the Qemu process quits and reports
> the error message.
>
> qemu-system-x86_64: ptlsim/build/core/ooocore.cpp:1997: virtual int
> OutOfOrderModel::OutOfOrderMachine::run(PTLsimConfig&): Assertion
> `ctx.handle_interrupt == 1' failed.
> Aborted
>
> I checked the code and it seems that ctx.handle_interrupt should be 1 after
> first run. Somehow, this value is not changed. Is this a bug?
>
> - Hui
>
> _______________________________________________
> 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

Reply via email to