Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. Suppose you have a word-addressable cache memory system with the following parameters 8K blocks in main memory (note the units, it is not words)
6. Suppose you have a word-addressable cache memory system with the following parameters 8K blocks in main memory (note the units, it is not words) 512 block frames in cache memory 8 words in a block (a) How many bits are there in a main memory address? (b) Given the memory address 0xCA49 (hex), give the 3-bit offset of the word within the block that is being referenced. (c) In a direct mapped cache, give the cache block frame number to which the above referenced address is mapped to. Give your answer in decimal. Give the number and width of hardware comparators that will be needed to determine if the reference is a hit. (d) In a set associative cache with four block frames per set, give the set number to which the above referenced address is mapped to. Give your answer in decimal. Give the number and width of hardware comparators that are needed
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