Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a hypothetical machine that implements a set-associative cache. Each set in the cache consists of 4 lines, and each cache line holds 2
Consider a hypothetical machine that implements a set-associative cache. Each set in the cache consists of 4 lines, and each cache line holds 2 bytes. The cache can store 16 Kbytes of data. The main memory is byte-addressable and can store 4 Mbytes. How is the memory address divided into tag, set number and byte number, giving, respectively, the number of bits for each? The most significant bits are used for the tag, the middle bits are used for the set number, and the least significant bits are used for the byte number. Provide your answers in Base 10 numbers (and only write down the number). Marks will only be awarded if ALL answers are correct.
Step by Step Solution
★★★★★
3.41 Rating (157 Votes )
There are 3 Steps involved in it
Step: 1
Tag 8 set number 12 byte number 1 Tag Set Number Offset Block size ...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