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 <kassanu...@gmail.com<mailto:kassanu...@gmail.com>>
Reply-To: gem5 users mailing list 
<gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
Date: Wednesday, 17 June 2015 17:18
To: gem5 users mailing list <gem5-users@gem5.org<mailto:gem5-users@gem5.org>>
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

"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
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to