Yes I know. What I am trying to do is to print the exact location of the dcache being read from not the physical address of the data stored in the memory. I meant that since the DCache is only 64 kb the address of this physical location in the dcache cant be too long. So I am guessing this is not the right way to do it. Can you please point me to the correct direction. Thx in advance.
*Regards,* *Kassan Unda* *Doctoral Candidate* *Computer Engineering* *Missouri S&T (Formerly University of Missouri Rolla)* *WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>* *"Do not go where the path may lead, go instead where there is no path and leave a trail."* Ralph Waldo Emerson On Thu, Jun 18, 2015 at 5:15 AM, Andreas Hansson <[email protected]> wrote: > Hi Kassan, > > Perhaps I have misunderstood your question… Why on earth would the > address be in the range [0 : 64 kByte] ? Just because the cache is small > does not mean it holds addresses in any specific range. > > Andreas > > From: kassan unda <[email protected]> > Reply-To: gem5 users mailing list <[email protected]> > Date: Wednesday, 17 June 2015 17:18 > To: gem5 users mailing list <[email protected]> > Subject: [gem5-users] Physical address too long!!!! > > Hi all, > > I am trying to print the physical address of the data read write from > data cache. > I am printing the physical address using pkt->getAddr() in cache_impl.hh > address > inside the following function > template<class TagStore> > bool > Cache<TagStore>::access(PacketPtr pkt, BlkType *&blk, > Cycles &lat, PacketList &writebacks > > I am printing address like 1244784 (after converting hex to decimal). > The dcache is only 64kb. Can anyone point out whats wrong. Appreciate your > help!! > *Regards,* > *Kassan Unda* > > *Doctoral Candidate * > *Computer Engineering* > *Missouri S&T (Formerly University of Missouri Rolla)* > *WebPage: http://web.mst.edu/~kutx9 <http://web.mst.edu/~kutx9>* > > *"Do not go where the path may lead, go instead where there is no path > and leave a trail."* Ralph Waldo Emerson > > > -- 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 >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
