I got it, sir:-) Thanks very much:-)
       Actually, I'm tried to read the source code of the Timing Simple CPU
model, and I find in the fetch() function that, there is a local variable
needToFetch indicating whether it is really need to fetch a instruction.
       I'm confused about this, since the execution has been in the fetch()
function, isn't it going to fetch an instruction? why can the program is in
the fetch() function, while not really fetching an instruction? And, why,
when the needToFetch is false, the cpu status must be IcacheWaitResponse and
not other status?
       Is this about some basic simulation approach that gem5 has been
taken?
       I'm so fresh with gem5 and so confused with the source code of gem5.
       Sorry for keep on asking so many questions. If I'm bothering you,
sir, please let me know:-)
       Thanks again for your help, sir:-)



On 20 October 2011 22:10, Ali Saidi <[email protected]> wrote:

> Events that are supposed to happen with the program counter is a certain
> value (as opposed to an event when the simulated time is a certain value).
> It isn't widely used, but ends up being used for things like emulating
> dprintk() inside gem5.
>
> Ali
>
> On Oct 19, 2011, at 11:44 AM, Xuehan Xu wrote:
>
> > Dear Sirs:
> >       What is PCEventQueue used for in gem5? I mean what kind of event
> will be recognized as pc event and be put into it?
> >        I'm a fresh man about gem5. Please forgive me if my question is
> too simple. Thank you very much:-)
> > _______________________________________________
> > gem5-users mailing list
> > [email protected]
> > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
> _______________________________________________
> gem5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to