W90N740CD WINBOND [Winbond], W90N740CD Datasheet - Page 61

no-image

W90N740CD

Manufacturer Part Number
W90N740CD
Description
32-Bit ARM7TDMI-Based Micro-Controller
Manufacturer
WINBOND [Winbond]
Datasheets

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W90N740CD
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Part Number:
W90N740CDG
Manufacturer:
Winbond
Quantity:
1 000
Part Number:
W90N740CDG
Manufacturer:
Winbond
Quantity:
9 470
Part Number:
W90N740CDG
Manufacturer:
Winbond
Quantity:
12 388
Part Number:
W90N740CDG
Manufacturer:
NUVOTON30
Quantity:
60
Part Number:
W90N740CDG
Manufacturer:
WINBOND
Quantity:
3 546
Part Number:
W90N740CDG
Manufacturer:
Nuvoton Technology Corporation of America
Quantity:
10 000
Part Number:
W90N740CDG
Manufacturer:
WINBOND/华邦
Quantity:
20 000
Company:
Part Number:
W90N740CDG
Quantity:
130
6.4.4
The W90N740 data cache (D-Cache) is a 2KB two-way set associative cache. The cache organization is
64 sets, two lines per set, and four words per line. Cache lines are aligned on 4-word boundaries in
memory. The cache is designed for buffer write-through mode of operation and a least recently used
(LRU) replacement algorithm is used to select a line when no empty lines are available.
When D-Cache is disabled, the cache memory is served as 2KB On-chip RAM.
The D-Cache is always disabled on reset.
The Features of the Data Cache:
DATA CACHE OPERATION
On a data fetch, bits 9~4 of the data’s address point into the cache to retrieve the tags and data of one
set. The tags from both ways are then compared against bits 30~10 of the data’s address. If a match is
found and the matched entry is valid, then it is a cache hit. If neither tags match or the matched tag is not
valid, it is a cache miss.
6.4.4.1. Data Cache Read
Read Hit:On a cache hit, the requested word is immediately transferred to the core.
Read Miss:A line in the cache is selected to hold the data, which will be fetched from memory. The
selection algorithm gives first priority to invalid lines and if both lines are invalid the line in way zero is
selected first. If neither of the two candidate lines in the selected set is invalid, then one of the lines is
selected by the LRU algorithm to replace. The transfer begins with the aligned word containing the
missed data (critical word first), followed by the remaining word in the line, then by the word at the
beginning of the line (wraparound). As the missed word is received from the bus, it is delivered directly to
the core.
6.4.4.2. Data Cache Write
As buffer write-through mode, store operations always update memory. The buffer write-through mode is
used when external memory and internal cache images must always agree.
Write Hit:Data is written into both the cache and write buffer. The processor then continues to access
the cache, while the cache controller simultaneously downloads the contents of the write buffer to main
memory. This reduces the effective write memory cycle time from the time required for a main memory
cycle to the cycle time of the high-speed cache.
Write Miss:Data is only written into write buffer, not to the cache (write no allocate).
Data Cache
2K bytes data cache
Two-way set associative
Four words in a cache line
LRU replacement policy
Lockable on a per-line basis
Critical word first, burst access
Buffer Write-through mode
words write buffer
Drain write buffer
- 58 -
W90N740CD/W90N740CDG

Related parts for W90N740CD