Hi Rizwana,

It is handled in the CPU cores.

Andreas

From: Rizwana Begum via gem5-users 
<[email protected]<mailto:[email protected]>>
Reply-To: Rizwana Begum <[email protected]<mailto:[email protected]>>, 
gem5 users mailing list <[email protected]<mailto:[email protected]>>
Date: Monday, 26 January 2015 16:34
To: gem5 users mailing list <[email protected]<mailto:[email protected]>>
Subject: [gem5-users] WAR dependency

Hello Users,

I have a basic read-after-write and write-after-read dependency question. If 
DRAM controller receives a write request, then it is added to the write queue 
and its response is sent immediately. When its response is being sent, 
access(pkt) method from AbstractMemory is called which actually writes the 
data. If a read request to the same address was pending in the readQueue (note 
that this read request arrived at DRAM controller before the write), then this 
request would read new data written. Wouldn't this violate WAR dependency? (I 
am sure WAR is handled properly, otherwise benchmarks would have resulted in 
incorrect output, but I don't seem to be able to figure out where the 
dependencies are handled in memory system).

Thank you,
-Rizwana

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England & Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England & Wales, Company No: 2548782
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to