Professional Documents
Culture Documents
HW3 Pipelines
HW3 Pipelines
Consider a pipelined execution unit with five stages as described in the class notes. Using ARM instructions
and without reproducing an example from the class notes show a sequence of instructions that:
a) Exhibit a structural hazard (5 points).
Cycles
1
2
3
4
5
6
7
8
9
10
11
IF
ID
EX
MEM
IF
ID
EX
MEM
IF
ID
EX
MEM
WB
Cycles
1
2
3
4
5
6
7
8
9
10
11
WB
Cycles
1
2
3
4
5
6
7
8
9
10
11
IF
ID
EX
MEM
WB