A 5-stage instruction pipeline has stage delays of 180, 250, 150, 170, and 250, respectively, in nanoseconds. The delay of an inter-stage latch is 10 nanoseconds. Assume that there are no pipeline stalls due to branches and other hazards. The time taken to process 1000 instructions in microseconds is ______. (Rounded off to two decimal places)
Solution :
The correct answer is 261.04.
Step-by-Step Explanation:
1. Determine the Clock Cycle Time () of the Pipeline:
In a pipelined processor, the clock cycle time is determined by the delay of the slowest stage plus any overhead, such as the delay introduced by the inter-stage latches (registers). This is expressed by the formula:
Given the stage delays are 180, 250, 150, 170, and 250 nanoseconds, and the latch delay is 10 nanoseconds, we have:
2. Calculate the Total Time to Process the Instructions:
For a pipeline with stages executing instructions with no stalls, the total number of clock cycles required is given by:
- The first instruction takes clock cycles to exit the pipeline (to fill the pipeline).
- The remaining instructions each take 1 clock cycle to complete.
Thus, the total cycles required is .
The total execution time is calculated as:
Substituting the given values, where the number of stages and the number of instructions :
3. Convert the Time to Microseconds ():
Since , we divide the result by 1000:
Therefore, the time taken to process 1000 instructions is 261.04 microseconds.
Completely free for students. Educators & coaching institutes get 2 months free Pro trial to create tests.
Access unlimited practice questions, detailed step-by-step solutions, and exam study materials — completely free for students.
Create and conduct professional online assessments with AI question generation, tab proctoring, and comprehensive batch management.
Prepare for GATE 2026 Civil Engineering with the latest question papers, previous year papers, detailed solutions, syllabus, exam pattern, preparation tips, mock tests, and subject-wise study material. Download GATE 2026 CE question papers with solutions in PDF format and boost your preparation for top engineering institutes and PSU recruitment.
Prepare effectively for GATE 2026 Electronics & Communication Engineering (EC) with this comprehensive Question Paper with Solutions. This resource includes detailed explanations, concept-wise solutions, previous year paper analysis, and exam-oriented practice to help aspirants strengthen core subjects like Electronic Devices, Analog Circuits, Digital Circuits, Signals & Systems, Network Theory, Control Systems, Electromagnetics, Communications, and more. Perfect for revision, self-assessment, and boosting your GATE 2026 EC preparation strategy.
Copyright © 2026 Combe Labs Private Limited. All Rights Reserved.