PM0253

 

Cortex-M7 peripherals

 

 

 

 

 

 

 

Table 79. CTR bit assignments (continued)

 

Bits

Name

Description

 

 

 

 

 

[13:4]

-

Reserved, RAZ.

 

 

 

 

 

 

 

Smallest cache line of all the instruction caches under the control of the

 

[3:0]

IminLine

processor.

 

 

 

0b0011: 8 words for the Cortex®-M7 processor.

4.5.3Cache size ID register

The CCSIDR identifies the configuration of the cache currently selected by the CSSELR. If no instruction or data cache is configured, the corresponding CCSIDR is RAZ. See the register summary in Table 77 on page 217 for its attributes. The bit assignments are:

Figure 46. CCSIDR bit assignments

31 30 29 28 27

 

 

13 12

3

2

0

 

 

 

 

 

 

 

 

 

 

 

 

NumSet

 

Assoc

 

LineSize

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RA

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WB

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

WT

 

 

 

 

 

 

MSv39657V1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 80. CCSIDR bit assignments

 

 

 

 

Bits

 

 

Name

 

 

 

Function(1)

 

 

 

 

[31]

 

 

 

 

 

 

WT

 

Indicates support available for Write-Through:

 

 

 

 

 

 

 

 

 

 

 

1: Write-Through support available.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[30]

 

 

 

 

 

 

WB

 

Indicates support available for Write-Back:

 

 

 

 

 

 

 

 

 

 

 

1: Write-Back support available.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[29]

 

 

 

 

 

 

RA

 

Indicates support available for read allocation:

 

 

 

 

 

 

 

 

 

 

 

1: Read allocation support available.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[28]

 

 

 

 

 

 

WA

 

Indicates support available for write allocation:

 

 

 

 

 

 

 

 

 

 

 

1: Write allocation support available.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[27:13]

 

 

 

 

NumSets

 

Indicates the number of sets as:

 

 

 

 

 

 

 

 

 

(number of sets) - 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[12:3]

 

 

 

 

 

Associativity

 

Indicates the number of ways as:

 

 

 

 

 

 

 

 

 

 

(number of ways) - 1.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

[2:0]

 

 

 

 

 

 

LineSize

 

Indicates the number of words in each cache line.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1. See Table 81 on page 220 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.

PM0253 Rev 5

219/254

Соседние файлы в папке STM