Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that you have a system that contains a 16-word cache ( C=16 ). Consider the following RISCV assembly code addi to, zero, 4 addi

image text in transcribed

Assume that you have a system that contains a 16-word cache ( C=16 ). Consider the following RISCV assembly code addi to, zero, 4 addi s0, zero, 0 loop: beq to, zero, done Iw tl,030 (so) Iw t2, 070(s0) Iw t3,054(so) Iw t3,050(s0) addi t0, t0, 1 j loop done: Partl: Direct Mapped Cache, b=1 word 1) Fill in the correct size for the cache fields(Assume 32-bit memory address size): 2) Place every instruction's data in the correct set in the cache. Also, determine what kind of miss the instruction faces. 3) Find the miss rate (NOTE: if the number is 88.777778, then your answer should be 88.8): (Note: number of misses includes both compulsory and the conflict misses in all iterations) Cache miss rate= %

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

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

3. Develop a case study.

Answered: 1 week ago