Question: 1) 45] Consider a 2-way set associative cache that has 32 blocks and 16 bytes per block. Assume a 32 bit address. a) How many

 1) 45] Consider a 2-way set associative cache that has 32

1) 45] Consider a 2-way set associative cache that has 32 blocks and 16 bytes per block. Assume a 32 bit address. a) How many bits are needed to store the tag in the cache? b) For the above cache, assume LRU is used for cache replacement. Given the following address access sequence (data are shown in hexadecima). For each memory access, identify its block offset, set index, and tag, decide whether it is a cache hit or cache miss. If it is a cache miss, also mark whether it is compulsory miss, conflict miss or capacity Address 0x100 0x104 0x108 0x200 0x204 0x410 0x100 0x108 0x40C 0x408 0x300 0x284 0x280 0x304 Tag Index Offset Hit/Miss? Type of miss c) Calculate the miss rate for this memory access sequence d) Assume that the cache is initially empty. After the above memory access sequence, how many cache blocks are occupied? e) If the same cache is direct mapped, how wide is the tag field

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!