Programmer’s Model
Copyright © ARM Limited 2000. All rights reserved.
2-9
Bits [17:15] give the data cache associativity. Bits [5:3] give the instruction cache
associativity. Table 2-6 lists the meaning of values used for cache associativity
encoding.
The cache associativity fields in the cache type register are implementation-specific
(implementor-defined). Therefore, if the implementation has an instruction or data
cache, the associativity for that cache is set to
010
to indicate a four-way set associative
cache. If either cache is not included in a specific implementation, then the associativity
field for that cache is set to
000
to indicate that the cache is absent.
The cache base size and cache size fields are generated within the cache blocks to avoid
having to resynthesize the design for different cache sizes.
Bit 14 gives the data cache base size.
Bit 2 gives the instruction cache base size.
The base size bits are implementation-specific. If the implementation has an instruction
or data cache, the base size bit for that cache is set to 0, indicating that the cache type
parameters are valid. If either cache is not included for a specific implementation, the
relevant base size is set to 1, indicating that the cache is absent.
2.3.4
Register 0, Tightly-coupled memory size register
This is a read-only register that returns the size of the tightly-coupled instruction and
data RAMs included within the ARM946E-S.
The tightly-coupled memory size register is accessed by reading CP15 register 0 with
the
opcode_2
field set to 2. For example:
MRC p15, 0, rd, c0, c0, 2; returns tightly-coupled memory size register
Table 2-6 Cache associativity encoding
Bits [17:15] and
bits [5:3]
Associativity
000
Direct mapped
010
4
Summary of Contents for ARM946E-S
Page 1: ...ARM DDI 0155A ARM946E S Technical Reference Manual ...
Page 6: ...vi Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A 04 Limited Confidential ...
Page 54: ...Programmer s Model 2 34 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 70: ...Caches 3 16 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 78: ...Protection Unit 4 8 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...
Page 112: ...Coprocessor Interface 7 14 Copyright ARM Limited 2000 All rights reserved ARM DDI 0155A ...