335,540 views
31 votes
31 votes
Assume we need to implement the following sequence of Instructions with

forwarding by using a 5 stages pipeline.
sub x12, x11, x13
and x8 x12, x15
or x9,x16.x12
For clock cycle 5, what are the control values of A and B (the two outputs of
"Forwarding unit") respectively?
(The control values for the forwarding multiplexors

are shown in the following table)
MUX Control Source
A/B - 00
ID/EX
W/B - 10
EX/MEM

User Flat
by
2.5k points

1 Answer

25 votes
25 votes

Answer:

0 0 1 0

Step-by-step explanation:

sub X12, X11, X13 and x8, X12, X15 or X9, x16, x12 For clock cycle 5, what are the control values of A and B.

User Rami Alshareef
by
3.0k points