Re: [gem5-users] How to distinguish b/w Instruction and Data in L2

2018-02-14 Thread Serhat Gesoglu
Hello,
Having separate L2 caches for data and instructions should be done easily with: 
- adding a cache class for L2D to configs/common/Caches.py (if needed),
- creating and connecting corresponding busses/caches on 
configs/common/CacheConfig.py.

Also to check the blocks, you can use "isInstFetch()" (pkt->req->isInstFetch()).

Hope this helps.
Serhat Gesoglu

From: gem5-users [gem5-users-boun...@gem5.org] on behalf of Muhammad Ali Akhtar 
[muhammadali...@gmail.com]
Sent: 13 February 2018 18:09
To: gem5-users@gem5.org
Subject: [gem5-users] How to distinguish b/w Instruction and Data in L2

Hello All,

My understanding of L2 / Last Level Cache is that it contains BOTH Instructions 
and Data.

If I want to have a separate storage in L2 for Instructions and Data, any ideas 
how to do that?

Data in L2 comes comes from RAM in form of blocks. Is there any way to 
distinguish the data and instruction blocks?


Muhammad Ali Akhtar
Principal Design Engineer
http://www.linkedin.com/in/muhammadakhtar
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

[gem5-users] How to distinguish b/w Instruction and Data in L2

2018-02-13 Thread Muhammad Ali Akhtar
Hello All,

My understanding of L2 / Last Level Cache is that it contains BOTH
Instructions and Data.

If I want to have a separate storage in L2 for Instructions and Data, any
ideas how to do that?

Data in L2 comes comes from RAM in form of blocks. Is there any way to
distinguish the data and instruction blocks?


Muhammad Ali Akhtar
Principal Design Engineer
http://www.linkedin.com/in/muhammadakhtar
___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users