| 数据搜索系统,热门电子元器件搜索 |
|
AM486DX2 数据表(PDF) 55 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM486DX2 数据表(HTML) 55 Page - Advanced Micro Devices |
|
55 / 67 page ![]() Am5X86 Microprocessor 55 AMD PRELIMINARY s Control (bits 1–0): Read/Write, independent of Write- through or Write-back mode. The control bits deter- mine which operation to perform. The following is a definition of the control operations: — 00 = Write to cache fill buffer, or read from cache read buffer — 01 = Perform cache write — 10 = Perform cache read — 11 = Flush the cache (mark all entries invalid) 8.3 Using TR4 and TR5 for Cache Testing The following paragraphs provide examples of testing the cache using TR4 and TR5. 8.3.1 Example 1: Reading The Cache (Write-back Mode Only) 1. Disable caching by setting the CD bit in the CR0 register. 2. In TR5, load 0 into the Ext field (bit 19), the required index into the Index field (bits 10–4), the required entry value into the Entry field (bits 3–2), and 10 into the Control field (bits 1–0). Loading the values into TR5 triggers the cache read. The cache read loads the TR4 register with the TAG for the read entry, and the LRU and Valid bits for the entire set that was read. The cache read loads 128 data bits into the cache read buffer. The entire buffer can be read by placing each of the four binary combinations in the Entry field and setting the Control field in TR5 to 00 (binary). Read each doubleword from the cache read buffer through TR3. 3. Reading the Set State fields in TR4 during Write- back mode is accomplished by setting the Ext field in TR5 to 1 and rereading TR4. 8.3.2 Example 2: Writing The Cache 1) Disable the cache by setting the CD bit in the CR0 register. 2. In TR5, load 0 into the Ext field (bit 19), the required entry value into the Entry field (bits 3–2), and 00 into the Control field (bits 1–0). 3. Load the TR3 register with the data to write to the cache fill buffer. The cache fill buffer write is trig- gered by loading TR3. 4. Repeat steps 2 and 3 for the remaining three dou- blewords in the cache fill buffer. 5. In TR4, load the required values into TAG field (bits 31–11) and the Valid field (bit 10). In Write-back mode, the Valid bit is ignored since the Set State field in TR5 is used in place of the TR4 Valid bit. The other bits in TR4 (9:0) have no effect on the cache write. 6. In TR5, load 0 into the Ext field (bit 19), the required value into the Set State field (bits 18–17) (Write- back mode only), the required index into the Index field (bits 10–4), the required entry value into the Entry field (bits 3–2), and 01 into the Control field (bits 1–0). Loading the values into TR5 triggers the cache write. In Write-through mode, the Set State field is ignored, and the Valid bit (bit 10) in TR4 is used instead to define the state of the specified set. 8.3.3 Example 3: Flushing The Cache The cache flush mechanism functions in the same way in Write-back and Write-through modes. Load 11 into the Control field (bits 1–0) of TR5. All other fields are ignored, except for Ext in Write-back mode. The cache flush is triggered by loading the value into TR5. All of the LRU bits, Valid bits, and Set State bits are cleared. 9Am5X86 CPU Functional Differences Several important differences exist between Am5X86 microprocessors and standard Am486DX microproces- sors: s The ID register contains a different version signa- ture. s The EADS function performs cache line write-backs of modified lines to memory in Write-back mode. s A burst write feature is available for copy-backs. The FLUSH pin and WBINVD instruction copy back all modified data to external memory prior to issuing the special bus cycle or reset. The Am5X86 processor is functionally identical to the Enhanced Am486 processor except for the function of the CLKMUL pin (see Section 9.3) and the redefinition of TR4 and TR5 to access the 16-Kbyte cache (see Section 8). 9.1 Status after Reset The RESET state is invoked either after power up or after the RESET signal is applied according to the stan- dard Am486DX microprocessor specification. 9.2 Cache Status After reset, the STATUS bits of all lines are set to 0. The LRU bits of each set are placed in a starting state. 9.3 CLKMUL Pin For the standard Am486 processor, the Enhanced Am486 processor, and the Am5X86 processor, if the CLKMUL pin is driven High at RESET, the processor uses a Clock-tripled mode. To ensure correct operation of the 133-MHz Am5X86 processor, always connect the CLKMUL input to VSS. |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |