Question

Which of the following are true of pipelined datapaths (as opposed to non-pipelined datapaths): Select all that apply The amo
0 0
Add a comment Improve this question Transcribed image text
Answer #1

Pipelined Datapath

  • The pipelined datapath combines ideas from the single and multicycle processors.
  • It uses multiple memories and ALUs.
  • Instruction execution is split into several stages.
  • Pipeline registers propagate data and control values to later stages.
  • The MIPS instruction set architecture supports pipelining with uniform instruction formats and simple addressing modes.
  • The goal of pipelining is to allow multiple instructions execute at the same time.
  • We may need to perform several operations in a cycle.
  • Increment the PC and add registers at the same time.
  • Fetch one instruction while another one reads or writes data.
  • Thus, like the single-cycle datapath, a pipelined processor needs to duplicate hardware elements that are needed in the same clock cycle.

1 IF lw $t0, 4($sp) sub $v0, $a0, $a1 and $t1, $t2, $t3 or $50, $81, $s2 add $t5, $t6, $0 Clock cycle 2 3 4 5 6 7 8 9 ID EX M

PCSrc IF/ID ID/EX EX/MEM MEM/WB RegWrite Shift left 2 ALU Zero Mem Write Read data 1 Read data 2 Read Instruction address [31

CONCLUSION:

1. The amount of time it takes for an instruction to go through the pipeline is higher because of setup and hold times of latches.-True

Explanation:

Pipelining increases the CPU instruction throughput. But it does not reduce the execution time of an individual instruction. In fact, it usually slightly increases the execution time of each instruction due to overhead in the pipeline control.

2. Clock cycles per instruction generally goes up.-False

Explanation:

Since pipelining increases the throughput, or the amount of work done per unit time, several instructions are executed together in a clock cycle.

3. More control is needed.-False

Explanation:

Actually, we need the same number or less. The control signals are generated in the same way as in the single-cycle processor—after an instruction is fetched, the processor decodes it and produces all of the appropriate control values. But just like before, some of the control signals will not be needed until some later stage and clock cycle. These signals must be propagated through the pipeline until they reach the appropriate stage. We can just pass them in the pipeline registers, along with the other data. Control signals can be categorized by the pipeline stage that uses them.

4. More latches/registers are required.-True

Explanation:

Most latches are used to synchronize inputs and outputs since different parts (groups) are processed at different cycles.

5. Instruction throughput, i.e., number of intructions executed per cycle, generally goes up. -True

Explanation:

Pipelining does not improve the execution time of any single instruction. Each instruction here actually takes longer to execute than in a single-cycle datapath (15ns vs. 12ns). Instead, pipelining increases the throughput, or the amount of work done per unit time.

The result is improved execution time for a sequence of instructions, such as an entire program.

Add a comment
Know the answer?
Add Answer to:
Which of the following are true of pipelined datapaths (as opposed to non-pipelined datapaths): Select all...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A non-pipelined processor has a clock rate of 1 GHz and an average instruction takes 9...

    A non-pipelined processor has a clock rate of 1 GHz and an average instruction takes 9 cycles to execute. The manufacturer has decided to design a pipelined version of this processor. For this purpose, the instruction cycle has been divided into five stages with the following latencies: Stage 1 – 2.0 ns,Stage 2 – 1.5 ns, Stage 3 – 1.0 ns, Stage 4 – 2.6 ns, Stage 5 – 1.9 ns. Each stage will require an extra 0.4 ns for...

  • 1. Assume that individual stages of the datapath have the following latencies: IF ID EX MEM...

    1. Assume that individual stages of the datapath have the following latencies: IF ID EX MEM WB 250 ps 350 ps 150 ps 300 ps 200 ps Also, assume that instructions executed by the processor are broken down as follows: alu beq lw sw 45% 20% 20% 15% What is the total latency of an ?w instruction in a pipelined and non-pipelined processor? Instead of a single-cycle organization, we can use a multi-cycle organization where each instruction takes multiple cycles...

  • A program that executes 12.3x107 instructions is run on a pipelined processor. The table below provides...

    A program that executes 12.3x107 instructions is run on a pipelined processor. The table below provides the percentage of executed instructions for each type of instruction. Instruction Executed P ipeline CPU type instructions (%) w/o hazards ALU 29.4 Load 29.7 Store 14.7 Branch 26.2 2 (w/o prediction) 27% of the load instructions are followed by instructions that need the data being loaded, 47% of the branches are actually.not taken, please assume not taken prediction. a) Please determine the overall cycles...

  • Computer Architecture 14. Fill in the blanks below with the most appropriate term or concept discussed...

    Computer Architecture 14. Fill in the blanks below with the most appropriate term or concept discussed in this chapter: A. ---------------The time required for the first result in a series of computations to emerge from a pipeline. B. ---------------This is used to separate one stage of a pipeline from the next. C. ---------------Over time, this tells the mean number of operations completed by a pipeline per clock cycle. D. ---------------The clock cycles that are wasted by an instruction-pipelined processor due...

  • Suppose this program is executed in a computer in which the clock rate for the processor is 1.6 MHz

    Figure 1: each block gives the number of different types of instructionsConsider a program with the execution flow shown in Figure 1. There are in total 3 types of instructions used in this program: Type 1 (in-processor calculation): execution rate as 1 per clock cycle; Type 2 (memory access): each instruction takes 2 clock cycles for execution; Type 3 (loop control): each instruction takes 2 clock cycles for jump into the loop block or 3 clock cycles for jump to the block after...

  • A processor is designed such that the clock of the processor runs at 1 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Inst...

    A processor is designed such that the clock of the processor runs at 1 GHz. The following table gives the instruction frequencies for the benchmark and how many cycles each instruction takes. Instruction Type Frequency Cycles Load & Stores 25% 10 cycles Arithmetic Instructions 65% 6 cycles Branch instructions 10% 4 cycles (a) Calculate the CPI for the above benchmark. (b) Suppose the amount of registers are doubled, such that clock cycle time increases by 40%. What is the new...

  • Consider the following loop. loop: Iw r, 0(r1) 9. and rl, r1, r2 lw ri, o(ri)...

    Consider the following loop. loop: Iw r, 0(r1) 9. and rl, r1, r2 lw ri, o(ri) lw r1, O(r1) beq rl, rO, loop that perfect branch prediction is used (no stalls due to control hazards), that there are no delay Assume slots, and that the pipeline has full forwarding support. executed before the loop exits. A - Show a pipeline execution diagram for the third iteration of this loop, from the cycle in which we fetch the first instruction of...

  • 26. The is a group of bits that tells the computer to perform a specific operation...

    26. The is a group of bits that tells the computer to perform a specific operation A). program counter B). Opcode C). register D). microoperation 27. A condition called occurs in unsigned binary representation of a number when the result of an arithmetic operation is outside the range of allowable precision for the given number of bits. A). underflow B). 2's complement C). overflow D) bitwise complement 28. An iteration of the fetch-decode-execute cycle includes which of the following events?...

  • The Pentium processor used a ___ architecture, which implies that it has two pipelines. The first...

    The Pentium processor used a ___ architecture, which implies that it has two pipelines. The first pipeline, known as the ___ pipeline, can handle any instruction. The second pipeline, known as the ___ pipeline, can only handle ___instructions. Floating point instructions are first placed in the ___ pipeline, where they eventually are placed in the floating point unit: an exception to this rule is that the ___ instruction can stay in the u pipeline since it involves only ___ the...

  • Part 1: A pipelined computer completes instructions more quickly by having more than one instruction at...

    Part 1: A pipelined computer completes instructions more quickly by having more than one instruction at a time "in the pipeline." Explain what problem branch instructions cause with instruction pipelining. Describe one approach to overcoming this problem. Part 2: RISC computers generally execute more instructions per second than CISC computers. Describe the penalty or trade-off paid when adopting the RISC architecture. Part 3: When a cache hit to a cache on the CPU chip occurs on a memory write the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT