Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Help with question 2 please. Assume that you have a system that contains a 16-word cache (C=16). Consider the following RISC-V assembly code addi to,

image text in transcribedHelp with question 2 please.

Assume that you have a system that contains a 16-word cache (C=16). Consider the following RISC-V assembly code addi to, zero, 4 addi so,zero,0 loop: beq to, zero, done Iw t1,ex30(s1) Iw t2,074(51) Iw t3,054(51) (w t3,050(51) addi to, to, 1 j loop done: Part2: Two-way Set Associative Cache, b = word 1) Fill in the correct size for the cache fields (Memory Address size is 32-bit): 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 = % Assume that you have a system that contains a 16-word cache (C=16). Consider the following RISC-V assembly code addi to, zero, 4 addi so,zero,0 loop: beq to, zero, done Iw t1,ex30(s1) Iw t2,074(51) Iw t3,054(51) (w t3,050(51) addi to, to, 1 j loop done: Part2: Two-way Set Associative Cache, b = word 1) Fill in the correct size for the cache fields (Memory Address size is 32-bit): 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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Why is education and experience necessary?

Answered: 1 week ago