Hello Jason Lowe-Power, Nikos Nikoleris,
I'd like you to reexamine a change. Please visit
https://gem5-review.googlesource.com/c/public/gem5/+/14295
to look at the new patch set (#2).
Change subject: mem-cache: Add parameter to forward write data from packet
......................................................................
mem-cache: Add parameter to forward write data from packet
There was a check to see if the difference between the current
tick and the whenReady time was greater than the access latency,
and the latency would be fixed so that the access would only be
serviced when the write data was present. This was not correctly
implemented.
The access can be serviced with either the contents of the block,
if it is ready by the time the access arrives, or by the contents
of the packet that is bringing the write data. Therefore there is
no need to wait for the fill to happen, but the latency to
transfer the data between packets must be accounted for.
This change adds a parameter to let the user decide whether the
block must be written before read, or if the packet's data can
be forwarded.
Change-Id: I2b2937833f5bf16d8f4e7ca2cb0efbc5635c6219
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/mem/cache/Cache.py
M src/mem/cache/base.cc
M src/mem/cache/base.hh
3 files changed, 20 insertions(+), 4 deletions(-)
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/14295
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I2b2937833f5bf16d8f4e7ca2cb0efbc5635c6219
Gerrit-Change-Number: 14295
Gerrit-PatchSet: 2
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Daniel Carvalho <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
Gerrit-MessageType: newpatchset
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev