Question: Instruction Pipelining w / and w / o the Bypass Circuit: Show the execution of the following sequence of MIPS instructions on the pipeline diagrams.

Instruction Pipelining w/ and w/o the Bypass Circuit:
Show the execution of the following sequence of MIPS instructions on the pipeline diagrams. Also show how each source operand of ALUs is gathered (i.e. read from the Register File at the Decode stage, forwarded from the first stage of the bypass circuit, etc.). Assume that the Register File is dual-phase (i.e. writes are allowed in the first clock phase or the first half of the clock cycle, and reads are allowed at the second clock phase or at the second half of the same clock cycle).
I1: LOAD R1, R2, #30//1 cycle execute followed by 1 cycle memory stage
I2: ADD R4, R5, R1//1 cycle execute stage
I3: MUL R3, R1, R4//2 cycle execute stage
I4: STORE R4, R3, #10//1 cycle execute followed by 1 cycle memory stage
a) No bypass circuit
\table[[,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],[I1,,,,,,,,,,,,,,,,,,,,],[I2,,,,,,,,,,,,,,,,,,,,]]
b)1-stage half bypass circuit
\table[[,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],[I1,,,,,,,,,,,,,,,,,,,,],[I2,,,,,,,,,,,,,,,,,,,,]]
1
c)2-stage full bypass circuit
\table[[,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],[I1,,,,,,,,,,,,,,,,,,,,]]
Instruction Pipelining w / and w / o the Bypass

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 Programming Questions!