CSCE 212 Quiz 11 – 4/13/11 Given a direct-mapped cache with 8 one-word blocks and the following 32-bit memory address references: 1 2, , , 1 2, Show the final state of the cache after the accesses and tell whether each reference is a hit or miss. *You will need to show the block index, valid bit, tag, and data. Don’t worry about leading zeros in the tag. EC: Do the same for a cache with 4 two-word blocks.
CSCE 212 Quiz 11 Answers 1 2, , , 1 2, M MM H M IndexVTagData 0N 1Y Memory(1) 2N 3N 4Y Memory( ) 5N 6Y Memory( ) 7Y Memory( )
CSCE 212 Quiz 11 Answers 1 2, , , 1 2, M MM H H IndexVTagData 0Y Memory(0) Y Memory(1) 1N N 2Y Memory( ) Y Memory( ) 3Y Memory( ) Y Memory( )