Question: STEPS PLZ Consider a computer system with 8 - bit memory addresses, a cache with 4 blocks and the size of each block 2 bytes.

STEPS PLZ
Consider a computer system with 8-bit memory addresses, a cache with 4 blocks and the size of each block 2 bytes.
\table[[Address,Data],[00101010,0x12F0],[00101011,0xFFC0],[11001100,0x0001],[11001010,0x96AA],[11001011,0x81CD],[00111101,0x010E],[00111100,0x557C],[00101100,0x1234]]
A. Assume a direct mapped cache is used, answer the following quesitons:
a. How many data bytes can be stored in the cache? Exclude the tag and valid bit.
b. How many bits are used for the tag? How many bits are used for the block index? How many bits are used for the offset?
c. Given the following addresses, show the tag and offset bits for each addresses: 11001010 and 0010010.
d. Consider the following sequence of cache read operations to the following addresses: 00101010,00101011,11001100,11001010,11001011,00111101,00111100,00101100.
Use the following table to show the sequence of tags accessed in each tag block starting at the top.
\table[[Block,Tag,Data],[0,,],[,],[1,,],[,],[,],[,],[2,,],[,],[,],[,],[3,,],[,],[,],[,]]
 STEPS PLZ Consider a computer system with 8-bit memory addresses, a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!