changeset 5d01c182d6a7 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=5d01c182d6a7
description:
        ruby: Added atomic support to MOESI_hammer

diffstat:

1 file changed, 3 insertions(+), 3 deletions(-)
src/mem/protocol/MOESI_hammer-cache.sm |    6 +++---

diffs (30 lines):

diff -r f8057af86bf7 -r 5d01c182d6a7 src/mem/protocol/MOESI_hammer-cache.sm
--- a/src/mem/protocol/MOESI_hammer-cache.sm    Fri Jan 29 20:29:23 2010 -0800
+++ b/src/mem/protocol/MOESI_hammer-cache.sm    Fri Jan 29 20:29:23 2010 -0800
@@ -245,7 +245,7 @@
   // Forward Network
   in_port(forwardToCache_in, RequestMsg, forwardToCache) {
     if (forwardToCache_in.isReady()) {
-      peek(forwardToCache_in, RequestMsg) {
+      peek(forwardToCache_in, RequestMsg, block_on="Address") {
         if (in_msg.Type == CoherenceRequestType:GETX) {
           trigger(Event:Other_GETX, in_msg.Address);
         } else if (in_msg.Type == CoherenceRequestType:GETS) {
@@ -264,7 +264,7 @@
   // Response Network
   in_port(responseToCache_in, ResponseMsg, responseToCache) {
     if (responseToCache_in.isReady()) {
-      peek(responseToCache_in, ResponseMsg) {
+      peek(responseToCache_in, ResponseMsg, block_on="Address") {
         if (in_msg.Type == CoherenceResponseType:ACK) {
           trigger(Event:Ack, in_msg.Address);
         } else if (in_msg.Type == CoherenceResponseType:ACK_SHARED) {
@@ -287,7 +287,7 @@
   // Mandatory Queue
   in_port(mandatoryQueue_in, CacheMsg, mandatoryQueue, desc="...") {
     if (mandatoryQueue_in.isReady()) {
-      peek(mandatoryQueue_in, CacheMsg) {
+      peek(mandatoryQueue_in, CacheMsg, block_on="LineAddress") {
 
         // Check for data access to blocks in I-cache and ifetchs to blocks in 
D-cache
 
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to