Question
Using two-way Set-Associative mapping method, design two-way mapping for cache memory from main memory. Explain why you need each condition and show all intermediate calculation
Using two-way Set-Associative mapping method, design two-way mapping for cache memory from main memory. Explain why you need each condition and show all intermediate calculation procedures. You must indicate how many bits are required for each address format.
There are 4096 pgs in the main memory and 128 frames at cache memory.
(a) determine how many tag numbers will be required. (4 points)
(b) calculate the number of required sets to design this mapping. (4 points)
(c) show the structure of main memory address format. (4 points)
(d) Determine whether CAM word will be required or not. If it is required, then show the structure of CAM word. (4 points)
(e) Show the structure of Cache memory address. (4 points)
(f) Show how the memories are constructed by showing the required addresses partially for cache memory along with the associated tag, and main memory. (12 points)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Certainly Lets tackle each of the questions related to computer memory and cache memory concepts a D...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