hello Abd,

You can see a similar output by enabling the Exec debug-flag. I would suggest 
you look at the gem5 documentation to further details in the debug-flags 
available and how to use them. 
(http://learning.gem5.org/book/part2/debugging.html#:~:text=gem5%20provides%20support%20for%20printf,enable%20from%20the%20command%20line.)

A quick answer for you question is the following command :

./build/x86/gem.opt  --debug-flag=Exec configs/se.py -c <path_to_binx86>

With this command, the output will be printed in the console. You can also 
redirect the output to a file by adding --debug-file=file.txt.

Tip: You can use grep to filter only memory access.

Best regards.

----------------------------------------------------------------------------------------------------------------------------------------------
Francisco Carlos Silva Junior
Phd Student at University of Brasilia

________________________________
De: ABD ALRHMAN ABO ALKHEEL via gem5-users <gem5-users@gem5.org>
Enviado: segunda-feira, 13 de julho de 2020 13:02
Para: gem5-users <gem5-users-boun...@gem5.org>; gem5 users mailing list 
<gem5-users@gem5.org>
Cc: ABD ALRHMAN ABO ALKHEEL <abdkeel...@hotmail.com>
Assunto: [gem5-users] Re: Memory -Address -Gem5-O3

Hi All,

Which file in gem5 prints the following output? I want to find the memory 
address for each instruction. Any help would be appreciated.

[cid:98ceb09f-11ce-44d2-9afd-a7a6af430c10]

________________________________
From: ABD ALRHMAN ABO ALKHEEL
Sent: Sunday, July 12, 2020 7:46 PM
To: gem5-users <gem5-users-boun...@gem5.org>; gem5 users mailing list 
<gem5-users@gem5.org>
Subject: Memory -Address -Gem5-O3

Hi All, I am currently working on Gem5 with CPU O3 and I want to collect each 
instruction and it’s memory address , I can do that by using - 
-debug-file=Exec. But I want to know where can I find those address and print 
them on txt file. Which file does do that in Gem5? Any help would be 
appreciated. Thanks
_______________________________________________
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

Reply via email to