For a direct-mapped cache with block size 2kb , the size of primary memory is 8gb and there are 12 bits in the tags the index and block output fields are .
Answer fast for Branliest
Answers
Answered by
1
Answer:
In direct mapping,
A particular block of main memory can be mapped to one particular cache line only.
Block ‘j’ of main memory will map to line number (j mod number of cache lines) of the cache.
There is no need of any replacement algorithm.
In this article, we will discuss practice problems based on direct mapping.
✴Cache memory size = 16 KB
✴Block size = Frame size = Line size = 256 bytes
✴Main memory size = 128 KB
We consider that the memory is byte addressable.
Answered by
4
hope it's helpful
thank you
Attachments:
Similar questions