Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

RISCV Computer Architechture Consider a classical 5 - stage pipelined processor having IF , ID , EX , M and WB stages. Each stage, except

RISCV Computer Architechture Consider a classical 5-stage pipelined processor having IF, ID, EX, M and
WB stages. Each stage, except the EX stage, takes one clock cycle to perform its desired
operation. The system has one integer ALU, one floating point unit (having an adder and a
floating point multiplier). The floating point unit has its own register file (f0-f31. The integer
ALU takes 1 clock cycle to execute the operation, while the floating point adder requires 3
clock cycles and floating point multiplier requires 5 clock cycles to perform the corresponding
operations. The pipeline is stalled, for the required number of cycles, when a floating point
operation is performed. Forwarding is implemented to resolve any data hazards. The following
program is executed by the processor.
a) List all the hazards that will be encountered while executing the given program.
b) Evaluate the number of clock cycles required to complete one iteration of the loop and show
the number of cycles taken by each instruction separately. Assume that the result of branch
instruction is available in the ID stage.
image text in transcribed

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

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions