Dear Kim,

There is not a perfect cache model for data caches. One thing that you can do 
to simulate a perfect cache is to set cache parameter into their extreme values 
(minimum values for delays and large values for size, associativity, ...). Keep 
in mind that even in this case data still passes through network, L2, and 
memory.

For instruction cache (uFetch) there is a "PerfectICache" parameter which 
simulates a cache with infinite capacity. You still need to increase values of 
max cache lines and instructions fetched per cycle to eliminate any limitation. 
Look into components/uFetch/uFetchImpl.cpp for more details.

Regards,
Mohammad


On 7 Apr 2011, at 17:03, Eun-Sung Kim wrote:

> Hi,
> 
> I am going to timing-simulate with perfect cache hit ratio.
> How and where can I set up parameters for that?
> I am using v9 target.
> Thanks.
> 
> --Kim

Reply via email to