50 likes | 159 Vues
Learn about direct-mapped caches, tag purposes in caches, and pipeline cycles without and with forwarding. Understand cache block placement and identification for efficient data retrieval.
E N D
CSCE 212 Quiz 10 – 4/6/11 lw $4, 4($8) subi $8, $4, 1 beq $8, $9, Exit • Show the pipeline for the given instructions and tell how many cycles it would take to finish (assume no forwarding). • What does it mean for a cache to be direct mapped? • What is the purpose of tags for a cache? EC: How many cycles with forwarding from ALU to ALU.
CSCE 212 Quiz 10 Answers • What does it mean for a cache to be direct mapped? • There is only one place where a given block can be placed within the cache.
CSCE 212 Quiz 10 Answers • What is the purpose of tags for a cache? • Used to identify if the information in the cache is the information that has been requested.