Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C1. Assume a cache of 1 MB organized as 32 bytes each line. The main memory is 256 MB. [6 marks] 2. Determine the number
C1. Assume a cache of 1 MB organized as 32 bytes each line. The main memory is 256 MB. [6 marks] 2. Determine the number of blocks in main memory (1.5 marks] b. Determine how to split the address (s-r, r,w) for direct mapping. (1.5 marks] c. Determine how to split the address (s, w) for associative mapping.[1.5 marks] d. Determine how to split the address (s-d, d, w) for set-associative mapping. Assume each cache set is 4 lines of the cache. [1.5 marks] C1. Assume a cache of 1 MB organized as 32 bytes each line. The main memory is 256 MB [6 marks] a. Determine the number of blocks in main memory [1.5 marks] b. Determine how to split the address (S-1, 1, w) for direct mapping. [1.5 marks] c. Determine how to split the address (s, w) for associative mapping. [1.5 marks] d. Determine how to split the address (s-d, d, w) for set-associative mapping. Assume each cache set is 4 lines of the cache. [1.5 marks]
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