A CPU has a 5-stage pipeline with stages Fetch (F), Decode (D), Execute (E), Memory (M) and Write-back (W). Each stage takes one clock cycle. Assume there are no pipeline stalls and the pipeline is initially empty. How many clock cycles are required to complete the execution of 10 instructions?
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: B. 14
Explanation
Cycles = k + (n − 1) = 5 + 9 = 14.More Computer System Architecture questions
- Match List I (computing systems) with List II (working/output)List I List II (A) Half Adder (I) Has n inputs and 2ⁿ outputs (B) Decoder (II…
- Consider the following statements regarding combinational and sequential circuits. (A) The output of a combinational circuit depends only o…
- Arrange the following steps in the proper sequence for simplifying a Boolean function using a Karnaugh map (K-map). (A) Identify and group…
- Match List I (Counter) with List II (uses/working)List I List II (A) N-bit Ring Counter (I) Uses universal clock (B) Synchronous Counter (I…
- Consider the following statements regarding special-purpose registers. (A) The Program Counter (PC) keeps track of the next instruction to…
- A multiprocessor system with 16 processors is used to execute a parallelizable task. The serial portion of the task takes 200 clock cycles…