[Gems-users] cache coherence


Date: Wed, 18 May 2011 14:51:53 +0800 (CST)
From: wyhsdkd <wyhsdkd@xxxxxxx>
Subject: [Gems-users] cache coherence
Hi,all

sorry,the last message has some errors,I update it now.

In the file MESI_CMP_filter_directory-L2cache.sm,there are lots of actions,and almost each action has a parameter "address",for example as follows,

// ACTIONS

  action(a_issueFetchToMemory, "a", desc="fetch data from memory") {
    peek(L1RequestIntraChipL2Network_in, RequestMsg) {
      enqueue(DirRequestIntraChipL2Network_out, RequestMsg, latency="L2_REQUEST_LATENCY") {
        out_msg.Address := address;
        out_msg.PhysicalAddress := in_msg.PhysicalAddress;
        out_! msg.Type := CoherenceRequestType:GETS;
        out_msg.Requestor := machineID;
        out_msg.Destination.add(map_Address_to_Directory(address));
        out_msg.MessageSize := MessageSizeType:Co! ntrol;
      }
    }
  }

I donnot know where the parameter "address" defined.when I add a new parameter,it warns to me "error:unrecognized variable".I grep "address" but no results.Could anyone  help me? Thanks in advance!


[← Prev in Thread] Current Thread [Next in Thread→]