Dear Sirs:
       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?
       Please help me:-) Thanks, sir:-)
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to