12.07.2015 Views

Geode GXLV Processor Series Low Power Integrated x86 Solutions

Geode GXLV Processor Series Low Power Integrated x86 Solutions

Geode GXLV Processor Series Low Power Integrated x86 Solutions

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Processor</strong> Programming (Continued)3.3.2.5 Cache Test RegistersThreetestregistersareusedintestingtheprocessor’sonchipcache, TR3-TR5. Table 3-16 is a register map for theCache Test Registers with their bit definitions given in Table3-17 on page 60. The test registers are accessed throughMOV instructions that can be executed only at privilegelevel 0 (real mode is always privilege level 0).The processor’s 16 KB on-chip cache is a four-way setassociative memory that is configured as write-backcache. Each cache set contains 256 entries. Each entryconsists of a 20-bit tag address, a 16-byte data field, avalid bit, and four dirty bits.The 20-bit tag represents the high-order 20 bits of thephysical address. The 16-byte data represents the 16bytes of data currently in memory at the physical addressrepresented by the tag. The valid bit indicates whether thedata bytes in the cache actually contain valid data. Thefour dirty bits indicate if the data bytes in the cache havebeen modified internally without updating external memory(write-back configuration). Each dirty bit indicates thestatus for one DWORD (4 bytes) within the 16-byte datafield.Foreachlineinthecache,therearethreeLRUbitsthatindicate which of the four sets was most recentlyaccessed. A line is selected using bits [11:4] of the physicaladdress. Using a 16-byte cache fill buffer and a 16-byte cache flush buffer, cache reads and writes may beperformed.Figure 3-1 illustrates the internal cache architecture.<strong>Geode</strong> <strong>GXLV</strong> <strong>Processor</strong> <strong>Series</strong>A11-A4DECODELineAddress255254..0Set 0 Set 1 Set 2 Set 3 LRU..........152 --- 0 152 --- 0 152 --- 0 152 --- 0 2 --- 0= Cache Entry (153 bits)Tag Address (20 bits)Data (128 bits)Valid Status (1 bit)Dirty Status (4 bits)Figure 3-1. Cache ArchitectureTable 3-16. Cache Test Registers31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0TR5 Register (R/W)RSVD Line Selection Set/DWORDControlBitsTR4 Register - Cache (R/W)Cache Tag Address 0ValidCacheLRU BitsDirty Bits 0 0 0TR3 Register - Cache (R/W)Cache DataRevision 1.3 59 www.national.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!