Search the courses, subjects, tracks, games and features, or jump straight to a page.
5 cards from this section. Quick, good the night before a test.
What is a cache hit?
Think about data access success.
How do you determine the cache line number from a memory address?
Remember: Divide then Modulo!
What happens during a cache hit?
Think about what success means in the context of memory access.
A cache miss occurs when:
Reflect on the situation when data is unavailable.
Given a memory size of 1MB and cache size of 256KB, where the block size is 16 bytes, calculate the total number of tag bits required for the system.
Break it down into manageable steps: Calculate line count, then find bits needed.
You have a direct-mapped cache with 32 lines and a block size of 8 bytes. What is the mapping for the byte address 256?
Remember to use the modulo operation for correct line number.
5 more questions in this section. Enroll free to practise them all.
Enroll free