EasyManua.ls Logo

AMCC PPC405 - Storage Attribute Control Registers; Data Cache Cachability Register (DCCR); Data Cache Write-Through Register (DCWR); Figure 5-6. Generic Storage Attribute Control Register

Default Icon
450 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
106 AMCC Proprietary
Revision 1.02 - September 10, 2007
PPC405 Processor
Preliminary User’s Manual
The storage attribute control registers divide the 4GB real address space into thirty-two 128MB regions. In a
storage attribute control register, bit 0 controls the lowest addressed 128MB region, bit 1 the next higher-
addressed 128MB region, and so on. EA0:4 specify a storage control region.
For detailed information on the function of the storage attributes, see “Storage Attribute Fields” on page 95.
5.8.1 Storage Attribute Control Registers
Figure 5-6 shows a generic storage attribute control register. The storage attribute control registers have the same
bit numbering and address ranges.
5.8.1.1 Data Cache Write-through Register (DCWR)
The DCWR controls write-through policy (the W storage attribute) for the data cache unit (DCU). Write-through is
not applicable to the instruction cache unit (ICU).
After any reset, all DCWR bits are set to 0, which establishes a write-back write strategy for all regions.
The PowerPC Architecture does not support memory models in which write-through is enabled and caching is
inhibited.
5.8.1.2 Data Cache Cachability Register (DCCR)
The DCCR controls the I storage attribute for data accesses and cache management instructions. Note that the
polarity of the bits in this register is opposite to that of the I attribute in the TLB; DCCR[Sn] = 1 enables caching,
while TLB_entry[I] = 1 inhibits caching.
Figure 5-6. Generic Storage Attribute Control Register
Bit Address Range Bit Address Range
0 0x0000 0000 0x07FF FFFF 16 0x8000 00000x87FF FFFF
1 0x0800 00000x0FFF FFFF 17 0x8800 0000 0x8FFF FFFF
2 0x1000 0000 0x17FF FFFF 18 0x9000 00000x97FF FFFF
3 0x1800 00000x1FFF FFFF 19 0x9800 0000 0x9FFF FFFF
4 0x2000 0000 0x27FF FFFF 20 0xA000 0000 0xA7FF FFFF
5 0x2800 00000x2FFF FFFF 21 0xA800 00000xAFFF FFFF
6 0x3000 0000 0x37FF FFFF 22 0xB000 0000 0xB7FF FFFF
7 0x3800 00000x3FFF FFFF 23 0xB800 00000xBFFF FFFF
8 0x4000 0000 0x47FF FFFF 24 0xC000 0000 0xC7FF FFFF
9 0x4800 00000x4FFF FFFF 25 0xC800 0000 0xCFFF FFFF
10 0x5000 00000x57FF FFFF 26 0xD000 00000xD7FF FFFF
11 0x5800 0000 0x5FFF FFFF 27 0xD800 0000 0xDFFF FFFF
12 0x6000 00000x67FF FFFF 28 0xE000 0000 0xE7FF FFFF
13 0x6800 0000 0x6FFF FFFF 29 0xE800 0000 0xEFFF FFFF
14 0x7000 00000x77FF FFFF 30 0xF000 00000xF7FF FFFF
15 0x7800 0000 0x7FFF FFFF 31 0xF800 0000 0xFFFF FFFF

Table of Contents