[Gems-users] Questions about map_L1CacheMachId_to_L2Cache()


Date: Thu, 27 Dec 2007 19:51:55 +0800
From: "张量" <congwu.zhang@xxxxxxxxx>
Subject: [Gems-users] Questions about map_L1CacheMachId_to_L2Cache()
  Hi all ,
  I'm using gems-2.0 and MESI_SCMP_bankdirector protocol. When a L1 cache has a miss, a request message to L2 is needed.  If the L2 is multi-banked,for example,
in my configuration 16 processors,16 chips with a 32-banked shared L2 cache, which L2 bank is the destination is determined by function
                      MachineID map_L1CacheMachId_to_L2Cache(const Address& addr, MachineID L1CacheMachId);
  Then I found a very confusing phenomenon : when L1CacheMachId is n, then L2Cache Id is always 2n or 2n+1, I feel I have to modify map_L1CacheMachId_to_L2Cache(),
am I right?
[← Prev in Thread] Current Thread [Next in Thread→]