An HTML attachment was scrubbed... URL: http://sos.ece.cmu.edu/pipermail/simflex/attachments/20060505/7f88c489/attachment.html From twenisch at ece.cmu.edu Tue May 9 13:34:54 2006 From: twenisch at ece.cmu.edu (Thomas Wenisch) List-Post: [email protected] Date: Tue May 9 13:35:09 2006 Subject: [Simflex] Re: A private L2 cache In-Reply-To: <[email protected]> References: <[email protected]> Message-ID: <[email protected]>
Hi Lu, On Fri, 5 May 2006, lu peng wrote: > > Hi Tom, > > Thanks for your message. I read those source code you mentioned. Do you think > I need replace the PiranhaCacheControllerImpl.cpp or simply modify some > functions into it? I am very hesitate to touch the complicated coherence > protocol. If I use the exisiting PiranhaCacheControllerImpl.cpp/.hpp, seems > that I need expand the directory structure and modify some actions such as L1 > miss based on messages. How do you think? > I do not recommend trying to modify the PiranhaCache code to implement the functionality I described in the previous email - the Piranha coherence protocol is way too complicated for what is required here. I suggest you create a completely new component, e.g., the SharedExternalInterfaceComponent or something similar. The component has the same port interface (same connections to other components) as the CMPCache - arrays of input ports for the (private) caches above it, and a single set of output ports to the memory below it. Within this new component, you need to perform the processing I described in my previous email. This is a great example of where component-based design applies - with a new SharedExternalInterfaceComponent, you should be able to reuse the existing Cache component without modification for your L1 and L2 caches (and you won't need the CMP cache at all). Regards, -Tom Wenisch Computer Architecture Lab Carnegie Mellon University
