wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

Consider a pipeline processor with 4 stages S1 to S4. We want to execute the following loop : for (i = 1; i < = 1000; i++)
{I1, I2, I3, I4} where the time taken (in ns) by instructions I1 to I4 for stages S1 to S4 are given below:

S1 S2 S3 S4
I1: 1 2 1 2
I2: 2 1 2 1
I3: 1 1 2 1
I4: 2 1 2 1


The output of I1 for i = 2 will be available after

A
12 ns
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
13 ns
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
11 ns
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
28 ns
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is B 13 ns
Total time = 13 ns

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
The Supply Shifters
ECONOMICS
Watch in App
Join BYJU'S Learning Program
CrossIcon