Question: ourse Code: CCCN 2 2 1 Course Name: Computer Architecture HW # 3 Targeted Course Learning Outcomes: CLO 2 . 1 Question 1 : Using
ourse Code: CCCN
Course Name: Computer Architecture
HW #
Targeted Course Learning Outcomes: CLO
Question : Using the Direct Mapped Cache assume that
blocks, wordblock direct mapped
Initial state is empty as shown below.
Index V Tag Data
N
N
N
N
And the following addresses have been requested in the following sequences:
Request : Word Addresses and
Request : Word Addresses and
Request : Word Addresses and
Request : Word Addresses and
A Show the cache state Before and After each time that addresses have been requested.
B Calculate the Hit Ratio and Miss Ratio.
Hint: Follow the example in the next page and fill up all missing data accordingly and calculate the Hit and Miss
ratios.
Request :
Word addr Binary addr Hitmiss Cache block
Miss
Before After
Index V Tag Data
N
N
N
N
Index V Tag Data
Request :
Word addr Binary addr Hitmiss Cache block
Before After
Index V Tag Data
Index V Tag Data
Request :
Word addr Binary addr Hitmiss Cache block
Before After
Index V Tag Data
Index V Tag Data
Request :
Word addr Binary addr Hitmiss Cache block
Before After
Index V Tag Data
Index V Tag Data
No of Cache access : No of Hits: No of Misses :
Hit Ratio:
MissRatio:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
