参数资料
型号: S80486-DX4-75-S-V-8-B
厂商: ADVANCED MICRO DEVICES INC
元件分类: 微控制器/微处理器
英文描述: 32-BIT, 75 MHz, MICROPROCESSOR, PQFP208
封装: SQFP-208
文件页数: 13/69页
文件大小: 1070K
代理商: S80486-DX4-75-S-V-8-B
Enhanced Am486 Microprocessor
AMD
20
PRELIMINARY
4.6
Cache Replacement Description
The cache line replacement algorithm uses the stan-
dard Am486 CPU pseudo LRU (Least-Recently Used)
strategy. When a line must be placed in the internal
cache, the microprocessor first checks to see if there is
an invalid line available in the set. If no invalid line is
available, the LRU algorithm replaces the least-recently
used cache line in the four-way set with the new cache
line. If the cache line for replacement is modified, the
modified cache line is placed into the copy-back buffer
for copying back to external memory, and the new cache
line is placed into the cache. This copy-back ensures
that the external memory is updated with the modified
data upon replacement.
4.7
Memory Configuration
In computer systems, memory regions require specific
caching and memory write methods. For example,
some memory regions are non-cacheable while others
are cacheable but are write-through. To allow maximum
memory configuration, the microprocessor supports
specific memory region requirements. All bus masters,
such as DMA controllers, must reflect all data transfers
on the microprocessor local bus so that the micropro-
cessor can respond appropriately.
4.7.1
Cacheability
The Enhanced Am486 CPU caches data based on the
state of the CD and NW bits in CR0, in conjunction with
the KEN signal, at the time of a burst read access from
memory. If the WB/WT signal is Low during the first
BRDY, KEN meets the standard setup and hold require-
ments and the four 32-bit doublewords are still placed
in the cache. However, all cacheable accesses in this
mode are considered write-through. When the WB/WT
is High during the first BRDY, the entire four 32-bit dou-
bleword transfer considered write-back.
Note: The CD bit in CR0 enables (0) or disables (1) the
internal cache. The NW bit in CR0 enables (0) or dis-
ables (1) write-through and snooping cycles. RESET
sets CD and NW to 1. Unlike RESET, however, SRESET
does not invalidate the cache nor does it modify the
values of CD and NW in CR0.
Table 5. MESI Cache Line Status
Situation
Modified Exclusive
Shared
Invalid
Line valid? Yes
Yes
No
External
memory
is...
out-of-
date
valid
status
unknown
A write to
this cache
line...
does not
go to the
bus
does not go
to the bus
goes to
the bus
and
updates
goes
directly to
the bus
4.7.2
Write-Through/Write-Back
If the CPU is operating in write-back mode (i.e., the WB/
WT pin was sampled High at RESET), the WB/WT pin
indicates whether an individual write access is executed as
write-through or write-back. The Enhanced Am486 micropro-
cessor does this on an access-by-access basis. Once the
cache line is in the cache, the STATUS bit is tested each time
the processor writes to the cache line or a tag compare results
in a hit during bus watching mode. If the WB/WT signal is
Low during the first BRDY of the cache line read access, the
cache line is considered a write-through access. Therefore,
all writes to this location in the cache are reflected on the ex-
ternal bus, even if the cache line is write protected.
4.8
Cache Functionality in Write-Back
Mode
The description of cache functionality in write-back
mode is divided into two sections: processor-initiated
cache functions and snooping actions.
4.8.1
Processor-Induced Actions and State
Transitions
The microprocessor contains two new buffers for use
with the MESI protocol support: the copy-back buffer
and the write-back buffer. The processor uses the copy-
back buffer for cache line replacement of modified lines.
The write-back buffer is used when an external bus mas-
ter hits a modified line in the cache during a snoop op-
eration and the cache line is designated for write-back
to main memory. Each buffer is four doublewords in size.
Figure 1 shows a diagram of the state transitions in-
duced by the local processor. When a read miss occurs,
the line selected for replacement remains in the modi-
fied state until overwritten. A copy of the modified line
is sent to the copy-back buffer to be written back after
replacement. When reload has successfully completed,
the line is set either to the exclusive or the shared state,
depending on the state of PWT and WB/WT signals.
Invalid
Shared
Modified
Exclusive
Read_Hit
Read_Miss
(WB/WT = 1)
(PWT = 0)
Read_Miss
[(WB/WT = 0) + (PWT = 1)]
Write_Hit
Write_Hit + Read_Hit
Shared
Read_Hit
+ Write_Hit
Figure 1. Processor-Induced Line Transitions in
Write-Back Mode
Note: Write_Hit
generates external
bus cycle.
相关PDF资料
PDF描述
S80960SA-16 32-BIT, 16 MHz, RISC PROCESSOR, PQFP80
S80960SB-10 32-BIT, 10 MHz, RISC PROCESSOR, PQFP80
S80C186XL12 16-BIT, 12 MHz, MICROPROCESSOR, PQFP80
S80C186XL25 16-BIT, 25 MHz, MICROPROCESSOR, PQFP80
S80C186XL20 16-BIT, 20 MHz, MICROPROCESSOR, PQFP80
相关代理商/技术参数
参数描述
S8049CR4 WAF 制造商:Intel 功能描述:
S8049CRA4 WAF 制造商:Intel 功能描述:
S804PV-M63 制造商:ABB Control 功能描述:S 800 PV-M 4pole 63A (1200V dc) MCB
S804PV-S10 制造商:ABB Control 功能描述:MCB S 800 PV-S 4 POLE 10A (800VDC) 制造商:ABB Control 功能描述:MCB, S 800 PV-S 4 POLE 10A (800VDC)
S804PV-S16 制造商:ABB Control 功能描述:MCB S 800 PV-S 4 POLE 16A (800VDC) 制造商:ABB Control 功能描述:MCB, S 800 PV-S 4 POLE 16A (800VDC)