Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started