The direct-mapped cache organization diagram above shows how
data contained in cache are accessed.
For example, if the 80386 requests data at the address FFFFF9h in the
main memory, the procedure is as follows:
The cache-controlled logic determines the cache location
from the 14 least significant bits of the index field (FFF8h).
The cache controlled logic compares the tag field (FFh) with
the tag stored at location FFF8h in the tag RAM.
If the tag matches, the processor reads the second byte of
the 4-byte sub-block from the data in the cache RAM.
If the tag does not match, the cache logic fetches the 4-byte
sub-block at address FFFFF8h in the main memory and
loads it into location FFF8h of the cache RAM, replacing the
current sub-block. The logic also changes the tag stored at
locations FFF8h to FFh. The processor then reads the
second byte of the new four-byte sub-block.
Cache Updating - Write-Back System
In a write-back system, the tag field of each block in the cache includes
a bit called the ALTERED bit. The bit is set if the block has been written
with new data and therefore contains data that is more recent than the
corresponding data in the main memory. Before writing any block in the
cache, the cache-controlled logic checks the altered bit. If it is set, the
cache controlled logic writes the block to the main memory before
loading new data into the cache.
The write-back system is faster than the write-through system because
the number of times an altered block must be copied into the main
memory is usually less than the number of write accesses.
26
Chapter 6: Appendix
Содержание Apex 386/33
Страница 1: ...K E E N 3 3 0 4 33MHz 386 SYSTEM User s Manual...
Страница 16: ......
Страница 31: ...Table 1 7 Power Cord Specifications Chapter 1 System Overview 15...
Страница 39: ...Chapter 2 Setting Up Your System...
Страница 42: ...Figure 2 1 PEM 3301 Motherboard Layout Chapter 2 Setting Up Your System 3...
Страница 51: ...Figure 2 7 Cache Configurations 12 Chapter 2 Setting Up Your System...
Страница 52: ......
Страница 53: ...Figure 2 8 1MB Total Onboard Memory Figure 2 9 2MB Total Onboard Memory 14 Chapter 2 Setting Up Your System...
Страница 54: ...Figure 2 10 4MB Total Onboard Memory Figure 2 11 5MB Total Onboard Memory Chapter 2 Setting Up Your System 15...
Страница 55: ...Figure 2 12 8MB Total Onboard memory 16 Chapter 2 Setting Up Your System...
Страница 62: ...Figure 2 17 PEM 3300 Motherboard Layout Chapter 2 Setting Up Your System 23...
Страница 71: ...Figure 2 23 Cache Configurations 64KB cache 256KB cache 32 Chapter 2 Setting Up Your System...
Страница 72: ...Table 2 12 DRAM Configurations Chapter 2 Setting Up Your System 33...
Страница 83: ......
Страница 84: ......
Страница 100: ...Chapter 4 Keyboard...
Страница 110: ...Troubleshooting...
Страница 119: ......
Страница 123: ...Figure 6 3 Connecting a Floppy Disk Drive Figure 6 4 Connecting a Floppy Disk Drive to an FDC Card 4 Chapter 6 Appendix...
Страница 127: ...Figure 6 6 Connecting a Hard Disk Drive Figure 6 9 Connecting a Hard Disk to a HDC Card 8 Chapter 6 Appendix...
Страница 133: ......
Страница 134: ......
Страница 135: ...I...
Страница 136: ......
Страница 137: ......
Страница 138: ......
Страница 144: ...Figure 6 14 Direct Mapped Cache Organization Chapter 6 Appendix 25...
Страница 147: ...Figure 6 15 Cache Architecture 28 Chapter 6 Appendix...
Страница 149: ...System Memory Map The AT compatible system memory map is as follows Figure 6 16 System Memory Map 30 Chapter 6 Appendix...
Страница 151: ...Interrupt Controllers Table 6 9 Interrupt Controllers 32 Chapter 6 Appendix...
Страница 163: ...Figure 6 19 Pin Assignments of the 32 bit Memory Expansion Bus 44 Chapter 6 Appendix...
Страница 164: ......