| 数据搜索系统,热门电子元器件搜索 |
|
AM486DX2 数据表(PDF) 19 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM486DX2 数据表(HTML) 19 Page - Advanced Micro Devices |
|
19 / 67 page ![]() Am5X86 Microprocessor 19 AMD PRELIMINARY hanced system support because the cache may contain data that is not identical to data in main memory at the same address location. 4.5 Write-Back Cache Protocol The Am5X86 microprocessor family write-back cache coherency protocol reduces bus activity while maintain- ing data coherency in a multimaster environment. The cache coherency protocol offers the following advan- tages: s No unnecessary bus traffic. The protocol dynamical- ly identifies shared data to the granularity of a cache line. This dynamic identification ensures that the traf- fic on the external bus is the minimum necessary to ensure coherency. s Software-transparent. Because the protocol gives the appearance of a single, unified memory, soft- ware does not have to maintain coherency or identify shared data. Application software developed for a system without a cache can run without modification. Software support is required only in the operating system to identify non-cacheable data regions. The Am5X86 microprocessor family implements a mod- ified MESI protocol on systems with write-back cache support. MESI allows a cache line to exist in four states: modified, exclusive, shared, and invalid. The Am5X86 microprocessor family allocates memory in the cache due to a read miss. Write allocation is not implemented. To maintain coherency between cache and main mem- ory, the MESI protocol has the following characteristics: s The system memory is always updated during a snoop when a modified line is hit. s If a modified line is hit by another master during snooping, the master is forced off the bus and the snooped cache writes back the modified line to the system memory. After the snooped cache completes the write, the forced-off bus master restarts the ac- cess and reads the modified data from memory. 4.5.1 Cache Line Overview To implement the Am5X86 microprocessor cache co- herency protocol, each tag entry is expanded to 2 bits: S1 and S0. Each tag entry is associated with a cache line. Table 3 shows the cache line organization. Table 3. Cache Line Organization Data Words (32 Bits) Address Tag and Status D0 Address Tag, S1, S0 D1 D2 D3 4.5.2 Line Status and Line State A cache line can occupy one of four legal states as indicated by bits S0 and S1. The line states are shown in Table 4. Each line in the cache is in one of these states. The state transition is induced either by the pro- cessor or during snooping from an external bus master. 4.5.2.1 Invalid An invalid cache line does not contain valid data for any external memory location. An invalid line does not par- ticipate in the cache coherency protocol. 4.5.2.2 Exclusive An exclusive line contains valid data for some external memory location. The data exactly matches the data in the external memory location. 4.5.2.3 Shared A shared line contains valid data for an external memory location, the data is shared by another cache, and the shared data matches the data in the external memory exactly; or the cache line is in Write-through mode. 4.5.2.4 Modified A modified line contains valid data for an external mem- ory location. However, the data does not match the data in the external location because the processor has mod- ified the data since it was loaded from the external mem- ory. A cache that contains a modified line is responsible for ensuring that the data is properly maintained. This means that in the case of an external access to that line from another external bus master, the modified line is first written back to the external memory before the other external bus master can complete its access. Table 5 shows the MESI cache line states and the correspond- ing availability of data. Table 4. Legal Cache Line States S1 S0 Line State 0 0 Invalid 0 1 Exclusive 1 0 Modified 1 1 Shared |
|
链接网址 |
| 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 |