Question
A set-associative cache consists of 64 lines, or slots, divided into four-line sets. Main memory contains $4 \mathrm{~K}$ blocks of 128 words each. Show the format of main memory addresses.
Step 1
Since the cache has 64 lines and each set contains 4 lines, the number of sets is calculated as: \[ \text{Number of sets} = \frac{\text{Total number of lines}}{\text{Lines per set}} = \frac{64}{4} = 16 \text{ sets} \] Show more…
Show all steps
Your feedback will help us improve your experience
James Kiss and 65 other educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
A set associative cache consists of 64 lines or slots divided into four-line sets. Main memory contains $4 \mathrm{~K}$ blocks of 128 word each. Then the number of bits present in tag, set and word fields are respectively. (A) $7,6,7$ (B) $6,7,7$ (C) $4,8,7$ (D) $8,4,7$
Computer Organization and Architecture
Cache and Main Memory, Secondary Storage
Consider a 32 -bit microprocessor that has an on-chip $16 \mathrm{~KB}$ four-way set associative cache. Assume that the cache has a line size of four 32 -bit words. Then the word in the memory location ABCDE8F8 will be mapped to (A) 143 rd set (B) 815 th set (C) 255 th set (D) 0 th set
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD