Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What three components make up a memory address in a cache?
Recall the acronym TIO.
In a direct-mapped cache, can one block of memory map to multiple cache lines?
Think about the definition of direct mapping.
What determines a cache hit?
Think about what needs to match for a hit to occur.
True or False: A direct-mapped cache can map multiple addresses to a single cache line.
Reflect on the definition of direct mapping.
Given a direct-mapped cache of size 8 KB with a block size of 16 bytes, calculate the number of lines in the cache.
Use the formula of total size divided by block size.
An address 2048 needs to be accessed from a direct-mapped cache with 256 lines and a block size of 32 bytes. Determine the cache line where this address maps.
Don't forget to consider modular operations while calculating the line number.
4 more questions in this section. Enroll free to practise them all.
Enroll free