Download presentation
Presentation is loading. Please wait.
1
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, 10000110 2, 11010100 2, 1 2, 10000111 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.
2
CSCE 212 Quiz 11 Answers 1 2, 10000110 2, 11010100 2, 1 2, 10000111 2 M MM H M IndexVTagData 0N 1Y... 00000Memory(1) 2N 3N 4Y... 11010Memory(11010100) 5N 6Y... 10000Memory(10000110) 7Y... 10000Memory(10000111)
3
CSCE 212 Quiz 11 Answers 1 2, 10000110 2, 11010100 2, 1 2, 10000111 2 M MM H H IndexVTagData 0Y... 00000Memory(0) Y... 00000Memory(1) 1N N 2Y... 11010Memory(11010100) Y... 11010Memory(11010101) 3Y... 10000Memory(10000110) Y... 10000Memory(10000111)
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.