An invalidate is simply acked by the memory controller; there's no
actual DRAM access involved.

As has been mentioned several times on the list, the detailed DRAM
model shipped with M5 is not that great.  Note that it's not enabled
by default.  If you're serious about DRAM timing you should get a copy
of Bruce Jacob's simulator from Maryland; other people have already
integrated it in, and the code is available on the list (I think).

Steve


On Mon, Dec 15, 2008 at 6:13 PM, Gaurav Dhiman <[email protected]> wrote:
> Hi All,
>
> I have been looking into the memory model of the M5 simulator. In the
> physical.cc file, I see that the doAtomicAccess function checks for
> the memory command, which is either swap, read, write or invalidate
> based on the checks over there. Can anyone tell what does the
> invalidate command mean in terms of memory accesses? The problem is
> that this function returns calculateLatency, which in detailed model
> calls the DRAM calculateLatency function. That function just checks
> for the memory access being a "read", and assumes it to be a "write"
> if that is not the case. This implies, this function treats an
> invalidate command as a write command, and returns a latency
> corresponding to a write command. Is this correct behavior? If not,
> then what should be the latency corresponding to an invalidate
> command?
>
> Thanks,
> -Gaurav
> _______________________________________________
> m5-users mailing list
> [email protected]
> http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
>
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to