Hi Alshamlan,
you can attach a L3 cache quickly by using the classic memory model.
What you need to do is to 1) instantiate a L3 cache (you can use the
class of L2Cache); 2) create a tol3bus and 3) connect the l2 and l3 port
on the bus.
Please see configs/common/Caches.py for the L2Cache class declaration
and configs/common/CacheConfig.py to learn how L2 cache is integrated.
L3 can actually be done in the same way.
-Tao
On 02/22/2013 10:20 AM, Alshamlan, Mohammad wrote:
Hi all,
I used this command in gem5:
*build/X86/gem5.opt configs/example/se.py --cpu-type=detailed
--num-cpus=2 --clock=1.8GHz --caches --l2cache --l1d_size=32kB
--l1i_size=32kB --l2_size=2MB --l3_size=16MB --l1d_assoc=2
--l1i_assoc=2 --l2_assoc=8 --l3_assoc=16 --cacheline_size=64 -c
/home/alshamlan/Documents/different_prograing_languages/test_hello_pthread
*
Then I look at the stats.txt and config.ini, but unfortunately I
didn't find any information on L3 whatsoever!! So, I start reading
se.py, CacheConfig.py, and Caches.py, also I didn't find any
information about L3. The only place that I could find about L3 is in
Option.py. So, please could someone tells me how to use L3 in gem5,
and thanks in advance. I mean, where I can find a python function
deals with L3?
--
Best Regards,
Mohammad Alshamlan
FIU Panther ID: 3485580
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users