Question: Assume the main memory size is 3 2 bytes. One word has one byte. Main memory block size is 4 words. The cache memory has
Assume the main memory size is bytes. One word has one byte. Main memory block size is words.
The cache memory has lines. The cache line size is bits. Direct mapping is used. The tags of cache
lines are shown as follows:
Cache Line Id Tag
How many bits at least are needed for memory addresses? Why?
How many bits in the memory address are needed to identify words? Why?
How many bits in the memory address are needed to identify cache lines? Why?
If The CPU needs to access the information contained in memory address Will it be a miss
or hit? Explain your answer.
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
