Question: ( a ) Given a direct - mapped write - through cache with 3 2 - bit memory addresses, tag bits are bit 1 2
a Given a directmapped writethrough cache with bit memory addresses, tag bits
are bit to bit in the memory address, the cache block index bits are bit to bit
and the offset bits are bit to bit :
What is the line size ie block size in bytes for this cache?
How many blocks does the cache have?
How many bits in total including data bits, tag bits, and other metadata bits are
required for such a cache implementation?
b Repeat a with a way set associative writeback cache using LRU cache
replacement policy
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
