Hi Rubel,

You could use config.ini, but you can generate a better visual representation 
by installing pydot.
Then when you run your simulation, you would generate a representation of your 
system in:

m5out/config.dot.pdf

or

m5out/config.dot.svg

This is definitely the option you are looking for

Giacomo


From: gem5-users <gem5-users-boun...@gem5.org> On Behalf Of Md Rubel Ahmed
Sent: 24 March 2020 17:13
To: gem5 users mailing list <gem5-users@gem5.org>
Subject: [gem5-users] How to get the high-level architectural view of the 
system I am simulating?

Hi all,
Lets say I am using the following command to simulate a system on gem5:

build/X86/gem5.opt configs/example/se.py 
--cmd=tests/test-progs/hello/bin/x86/linux/hello --cpu-type=TimingSimpleCPU 
--l1d_size=64kB --l1i_size=16kB --caches

How can I get a high-level view/diagram of the system that is being simulated 
here? I am interested in knowing the architecture of the system on which the 
binary is being executed as sys-calls. For example, I assume this command runs 
the hello binary on a system that looks like the following:
[https://lh4.googleusercontent.com/fhWNRX3SDBb9eT5k4Fj7_WOknHmEIeRm_kE1C4AfQuqIdTzUWKEoGSNaiqOzCSo9Wz6pLOAcCNk2ixiDV78pJYqJjutGH90Y8LtkHBzJk8aw7dfWtDUiF3bGhF-2YE_HBk9x6aAx3lc]

My assumption is L2 bus is implicit here, same as membus and mem_ctrl. Please 
advise me on how to interpret the command line architecture arguments to get 
the high-level view of the system, if possible with example.

Thank you,
Rubel Ahmed
USF-CSE
Tampa, FL
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.
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to