Tag和数据阵列并行访问的流水线模式 Address calculation Disambiguation Cache access Result drive Data b CD array Address Tag calculation A FIGURE 2.2: Parallel tag and data array access pipeline. 2021-2-4 计算机体系结构
Tag 和数据阵列并行访问的流水线模式 2021-2-4 计算机体系结构 27
Tag和数据阵列串行访问的逻辑结构 ay 1ag array Way0…WayN1 8号 index offset Aligner Address Hit Miss Data FIGURE 2.3: High - evel logical cache organization with serial tag and data array access 2021-2-4 计算机体系结构
Tag和数据阵列串行访问的逻辑结构 2021-2-4 计算机体系结构 28
Tag和数据阵列串行访问的流水线模式 Address calcul ati on, Disambiguation Tag access Data access Result drive Data Array Address T ag calculation Array FIGURE 2.4: Serial tag and data array access pipeline 2021-2-4 计算机体系结构
Tag 和数据阵列串行访问的流水线模式 2021-2-4 计算机体系结构 29
直接映像 Cache查找过程 Data-in byte offset word select Ali laner rite ×5 Tag 0 Data block o k Tag 1 Data block 1 Tag 2-1 Block 2-1 enable Aligner/byte offset Data-out Enable write access to Hit Aligner shifts data within data block if cache hit word according to byte offset 2021-2-4 计算机体系
直接映像Cache查找过程 2021-2-4 计算机体系结构 30
全相联 Cache查找过程 Data-in byte offset Aligner write b rd select ad Data block 0 enable VTag 1 Data block 1 enable Tag m-1 Data Block(m-1) enable byte offset→ Align m-way associative Hit Data-out 2021-2-4 计算机体系结构
全相联Cache查找过程 2021-2-4 计算机体系结构 31