GATE Exam  >  GATE Questions  >  Consider a 5-stage pipeline having stages as ... Start Learning for Free
Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:
  • a)
    The instruction I3 gets executed in the 10th clock cycle.
  • b)
    Number of True dependencies are 3.
  • c)
    Total number of clock cycles required are 11.
  • d)
    Total execution time is 2200 picoseconds.
Correct answer is option 'A,B,C'. Can you explain this answer?
Most Upvoted Answer
Consider a 5-stage pipeline having stages as Instruction Fetch (IF), I...
Here operand forwarding is used from EX to OF stage.
Instruction I3 is dependent on both I1 and I2, so we will fetch the operand for I3 after execution of instruction I1.
When execution of I2 gets completed, we can execute the instruction I3.
Similarly, I4 is dependent on I3. We can only execute I4 after the execution of I3.
Option (1)- True, from above diagrammatic representation, we can see that I3 gets executed in 10th cycle.
Option (2)- True, 3 RAW (Read After Write) dependencies are there

So, total RAW dependencies are 3.
RAW is also known as True dependency.
Option (3)- True, Last instruction I4 gets executed in 11th cycle.
So, total clock cycles required are 11.
Option (3)- True, Total execution time = Total number of clock cycles × clock cycle time
Clock cycle time = 1/Clock rate 
Total execution time = 11 × 0.2 ns
= 2.2 ns
= 2.2 x 10–9 sec
= 2.2 x 103 × 10–12 sec
= 2200 x 10–12 sec
= 2200 picoseconds
Free Test
Community Answer
Consider a 5-stage pipeline having stages as Instruction Fetch (IF), I...
Here operand forwarding is used from EX to OF stage.
Instruction I3 is dependent on both I1 and I2, so we will fetch the operand for I3 after execution of instruction I1.
When execution of I2 gets completed, we can execute the instruction I3.
Similarly, I4 is dependent on I3. We can only execute I4 after the execution of I3.
Option (1)- True, from above diagrammatic representation, we can see that I3 gets executed in 10th cycle.
Option (2)- True, 3 RAW (Read After Write) dependencies are there

So, total RAW dependencies are 3.
RAW is also known as True dependency.
Option (3)- True, Last instruction I4 gets executed in 11th cycle.
So, total clock cycles required are 11.
Option (3)- True, Total execution time = Total number of clock cycles × clock cycle time
Clock cycle time = 1/Clock rate 
Total execution time = 11 × 0.2 ns
= 2.2 ns
= 2.2 x 10–9 sec
= 2.2 x 103 × 10–12 sec
= 2200 x 10–12 sec
= 2200 picoseconds
Explore Courses for GATE exam

Similar GATE Doubts

Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer?
Question Description
Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? for GATE 2024 is part of GATE preparation. The Question and answers have been prepared according to the GATE exam syllabus. Information about Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? covers all topics & solutions for GATE 2024 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer?.
Solutions for Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? in English & in Hindi are available as part of our courses for GATE. Download more important topics, notes, lectures and mock test series for GATE Exam by signing up for free.
Here you can find the meaning of Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer?, a detailed solution for Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? has been provided alongside types of Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice Consider a 5-stage pipeline having stages as Instruction Fetch (IF), Instruction Decode (ID), Operand Fetch (OF), Execute (EX) and Write Back (WB). Here we are given 4 instructions. IF, ID, OF and WB stages take 1 clock cycle each, but the EX-stage takes 1 cycle for ADD and SUB, 2 cycles for MUL and 3 cycles for DIV operation. If the operand forwarding technique is used from EX stage to OF stage and the clock rate of pipeline processor is 5 GHz, then choose the correct statement(s), considering the below table:a)The instruction I3 gets executed in the 10th clock cycle.b)Number of True dependencies are 3.c)Total number of clock cycles required are 11.d)Total execution time is 2200 picoseconds.Correct answer is option 'A,B,C'. Can you explain this answer? tests, examples and also practice GATE tests.
Explore Courses for GATE exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev