Hi, Thank you for your email.
Do you have any idea how to construct a packet with a request to read from the memory address? For instance, let us assume that the address that I want to read the data from it is (0x2345), I want to read the 256 bytes of this address (0x2300-0x23ff)? I want to do that for debugging like this https://www.gem5.org/_pages/static/scripts/part2/memoryobject/simple_memobj.cc. Any help would be appreciated. Thanks ________________________________ From: Ahmed, Md Rubel via gem5-users <gem5-users@gem5.org> Sent: Wednesday, August 12, 2020 12:44 AM To: gem5 users mailing list <gem5-users@gem5.org> Cc: Ahmed, Md Rubel <mdrubelah...@usf.edu> Subject: [gem5-users] Re: Memory Addresses in Gem5 Hi, pkt->getAddr() returns memory address. pkt->print() also returns block address and offset. Thanks ________________________________ From: ABD ALRHMAN ABO ALKHEEL via gem5-users <gem5-users@gem5.org> Sent: Tuesday, August 11, 2020 6:32 PM To: gem5 users mailing list <gem5-users@gem5.org>; gem5-users <gem5-users-boun...@gem5.org> Cc: ABD ALRHMAN ABO ALKHEEL <abdkeel...@hotmail.com> Subject: [gem5-users] Memory Addresses in Gem5 Hi All, Does the packet in gem5 have the memory address? for example, does this pkt->getAddr() return the memory address or not? If so, is that address physical or virtual? Thanks [EXTERNAL EMAIL] DO NOT CLICK links or attachments unless you recognize the sender and know the content is safe.
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s