Hello, everyone, i have encountered a big problem when i tried to
create a new GEM5 simulator of my own ISA. Then Gem5.debug did not know
when to stop the simulation.
    So my question is : how the GEM5 simulator know when to stop the
simulation of my own helloworld executable?

    I have read the GEM5 source code , and know that: the GEM5 simulator
will execute the binary code of my helloworld executable, and all the
binary code of my ISA will be an Event to the EventQueue of simulation,
when the simulation should be exit, there will be an SimLoopExitEvent
happened. I still did not know how the SimLoopExitEvent be triggered? And
also , how the simulator know that when to trigger the SimLoopExitEvent?

   Thanks for your reading!

Zhang Xing
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to