Digi NS9215 manual ARM926EJ-S, Cache format

Models: NS9215

1 517
Download 517 pages 25.29 Kb
Page 132
Image 132

WO R K I N G W I T H T H E C P U

Cache MVA and Set/Way formats

ARM926EJ-S

 

 

 

 

 

 

 

cache format

31

S+5 S+4

5

4

2

1

0

 

Tag

Index

Word

Byte

0

1

2

3

4

5TAG

n

3 0 1 2

ARM926EJ-S cache associativity

Set/way/word format for ARM926EJ-S caches

The following points apply to the ARM926EJ-S cache associativity: The group of tags of the same index defines a set.

The number of tags in a set is the associativity. The ARM926EJ-S caches are 4-way associative.

The range of tags addressed by the index defines a way. The number of tags is a way is the number of sets, NSETS.

This table shows values of S and NSETS for an ARM926EJ-S cache.

ARM926EJ-S

S

NSETS

 

 

 

4 KB

5

32

 

 

 

8 KB

6

64

 

 

 

16 KB

7

128

 

 

 

32 KB

8

256

 

 

 

64 KB

9

512

 

 

 

128 KB

10

1024

 

 

 

32-A

 

 

 

 

 

 

 

 

31

 

31-A

S+5 S+4

5 4

2 1

0

Way

 

SBZ

 

Set select

 

Word

 

SBZ

 

 

 

(= Index)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

132Hardware Reference NS9215

Page 132
Image 132
Digi NS9215 manual ARM926EJ-S, Cache format