System Control Coprocessor

31 30 29 28 27

 

13 12

2

0

W

W

R

W

 

NumSets

 

 

Associativity

 

Line

T

B

A

A

 

 

 

 

Size

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 4-24 Current Cache Size Identification Register format

Table 4-19shows how the bit values correspond with the Current Cache Size Identification

Register.

Table 4-19 Current Cache Size Identification Register bit functions

Bits

Field

Function

 

 

 

[31]

WT

Indicates support available for write-through:

 

 

1 = write-through support availablea

[30]

WB

Indicates support available for write-back:

 

 

1 = write-back support availablea

[29]

RA

Indicates support available for read allocation:

 

 

1 = read allocation support availablea

[28]

WA

Indicates support available for write allocation:

 

 

1 = write allocation support availablea

[27:13]

NumSets

Indicates the number of sets as

 

 

(number of sets) - 1a

[12:3]

Associativity

Indicates the number of ways as

 

 

(number of ways) - 1a

[2:0]

LineSize

Indicates the number of words in each cache linea

a. See Table 4-20 for valid bit field encodings.

The LineSize field is encoded as 2 less than log(2) of the number of words in the cache line. For example, a value of 0x0 indicates there are four words in a cache line, that is the minimum size for the cache. A value of 0x1 indicates there are eight words in a cache line.

Table 4-20shows the individual bit field and complete register encodings for the Current Cache Size Identification Register. Use this to match the cache size and level of cache set by the Current Cache Size Selection Register (CSSR). See c0, Cache Size Selection Register on page 4-35.

Table 4-20 Bit field and register encodings for Current Cache Size Identification Register

 

Complete

Register bit field encoding

 

 

Size

register

 

 

 

 

 

 

 

 

encoding

WT

WB

RA

WA

NumSets

Associativity

LineSize

 

 

 

 

 

 

 

 

 

4KB

0xF003E019

1

1

1

1

0x001F

0x3

0x1

 

 

 

 

 

 

 

 

 

8KB

0xF007E019

1

1

1

1

0x003F

 

 

 

 

 

 

 

 

 

 

 

16KB

0xF00FE019

1

1

1

1

0x007F

 

 

 

 

 

 

 

 

 

 

 

32KB

0xF01FE019

1

1

1

1

0x00FF

 

 

 

 

 

 

 

 

 

 

 

64KB

0xF03FE019

1

1

1

1

0x01FF

 

 

 

 

 

 

 

 

 

 

 

ARM DDI 0363E

Copyright © 2009 ARM Limited. All rights reserved.

4-33

ID013010

Non-Confidential, Unrestricted Access

 

Page 117
Image 117
ARM R4F, r1p3 manual 4KB, 8KB