COMPUTER SCIENCE AND ENGINEERING
COMPUTER ARCHITECTURE
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
In a six-stage pipeline assuming that there are no branch instructions. If we want to execute 15 instructions. What is the time required to execute these instructions?
|
15
|
|
20
|
|
21
|
|
19
|
Explanation:
Detailed explanation-1: -4). For a six-stage pipelining, the initial instruction requires——-cycle for execution? 7 cycle.
Detailed explanation-2: -A six-stage (six clock cycle) pipeline is used in Jazelle state, consisting of Fetch, Jazelle/Decode (two clock cycles), Execute, Memory, and Writeback stages.
Detailed explanation-3: -An instruction needs 10 times 5 nsec to execute. With pipelining, the next instruction can start when the previous one is in the next pipeline stage, that is 5 nsecs after the previous one started. Without pipelining, the next instruction starts only when the previous one has finished, that is after 10 times 5 sec.
There is 1 question to complete.