Cache HIT and Miss Latency

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Cache HIT and Miss Latency

1,863件の閲覧回数
chaitanyakumarb
Contributor II

I am using MPC5777C, wanted to understand the cache HIT time and miss latency.

1) how do we compute these timings, are they standard times for all misses and hits?

2) what are the scenarios of cache flush?

are they  through

a) mtspr l1finv0 (for Data cache), mtspr l1finv1 (for instrcution cache) instruction

b) during cache replacement that is when Dirty bit is set and there is a cache miss detected or any other ways?

3) Invalidation of cache will results in cache flush also?

0 件の賞賛
返信
1 返信

1,804件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

1) If there is cache hit, there is access without wait states. If cache miss, access latency is given by access path to the target memory.

 

2) Both variants. Also there is instruction dcbf for that purpose.

 

3) No, invalidation is equal to flush only in write through mode. In the copy back mode, invalidation does not perform flush operation (i.e. does not copy line back if modified).

0 件の賞賛
返信