Question: Given the following assumptions, pipeline the following program: Integer Unit ( loads , stores and integer arithmetic ) takes 1 clock cycle FP Adder takes

Given the following assumptions, pipeline the following program:
Integer Unit (loads, stores and integer arithmetic) takes 1 clock cycle
FP Adder takes 2 clock cycles- Subtraction uses the adder
FP Multiplier takes 10 Clock cycles FP Divider takes 40 Clock cycles
Full forwarding
Register can be written in first half of cycle and read in second half of cycle
LD F634(R2)
ADD F6 F6 F2
MUL F4 F6 F3
SUB F7 F4 F2
Make sure you enter your answers as shown below:
Stalls - STALL
Fetch Stage - IF
Decode stage - ID
Memory - MEM
Write Back - WB
Execution stage:
Integer ALU - EX
FP Adder - A#
where # represents the number of the stage we are in for example A1
FP Multiplier -M#
where # represents the number of the stage we are in for example M1
FP Divider -D#
where # represents the number of the stage we are in for example D1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!