Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 31-bit address. (a) Draw the flow diagram of the

image text in transcribed

image text in transcribed

Q2. Consider a direct mapped cache with 1 MB of data and 8-word block size with 31-bit address. (a) Draw the flow diagram of the DMC and calculate the Cache size (5 marks) (b) Assume for a given CPU/DMC and MIPS program: - instruction cache miss rate 4% 4 data cache miss rate 2% miss penalty always 36 cycles CPI of 2 without memory stalls (perfect cache) frequency of load/stores 40% of instructions How much faster is a CPU with a perfect cache that never misses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions