Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You are building a computer with a hierarchical memory system that consists of separate instruction and data caches followed by main memory. You are using
You are building a computer with a hierarchical memory system that consists of separate
instruction and data caches followed by main memory. You are using a RISCV multicycle
processor running at
i The instruction cache is perfect ie always hits but the data cache has a miss
rate. On a cache miss, the processor stalls for ns to access main memory, then
resumes normal operation. Taking cache misses into account, what is the average
memory access time?
ii How many clock cycles per instruction CPI on average are required for load and
store word instructions considering the nonideal memory system?
iii Consider a benchmark application that has loads, stores, branches,
jumps, and Rtype instructions. Taking the nonideal memory system into account,
what is the average CPI for this benchmark?
iv Suppose that the instruction cache is also nonideal and has a miss rate. What is
the average CPI for the benchmark in part c Take into account both instruction and
data cache misses
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