Hi Pinky,
First, I think you should figure out the gem5 function call sequene in site
http://gem5.org/SimObjects, and then trace the execution flow with gdb.
If you want to know how to modified it quickly. Than look at these files in
order:
1. configs/common/Options.py
2. src/mem/cache/BaseCache.py
3. configs/common/CacheConfig.py
4. src/mem/cache/cache_impl.hh
or take a look at the steps of this blog
http://blog.csdn.net/fandroid/article/details/47271987
Hope these help you!
Best regards,
Fanfan Shen
------------------
Wish You a Happy Day!
Fanfan Shen, Ph.D. candidate
Computer School
Wuhan University, Wuhan, Hubei 430072, China
E-mail:[email protected]
------------------ ???????? ------------------
??????: "gem5-users-request";<[email protected]>;
????????: 2015??10??29??(??????) ????0:00
??????: "gem5-users"<[email protected]>;
????: gem5-users Digest, Vol 111, Issue 25
Send gem5-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of gem5-users digest..."
Today's Topics:
1. Adding new options to commandline & Using it (P Pinky)
----------------------------------------------------------------------
Message: 1
Date: Wed, 28 Oct 2015 16:12:13 +0530
From: P Pinky <[email protected]>
To: [email protected], [email protected]
Subject: [gem5-users] Adding new options to commandline & Using it
Message-ID:
<caep-zgo8obt57tkq4z4k2gvsha8ct3zjp2bbne41sez+zlt...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hi all
I am working on a cache memory project.I am trying to add a new option to
cache.I am able to add the option to options.py but am facing problem when
i try to access the value in other files.So can someone help me with,
which and all files i should modify so that i will be able to get the
command line value in .cc files ?
Thanks in advance !
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20151028/831a842d/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
------------------------------
End of gem5-users Digest, Vol 111, Issue 25
*******************************************
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users