Question

In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise assume t

1 0
Add a comment Improve this question Transcribed image text
✔ Recommended Answer
Answer #1

3.1). clock cycle time in pipeline processor = max { IF latency,ID latency, EX latency,MEM latency,WB latency }

= max { 200,400,150,250,200 }

= 400 ps

Clock cycle time in non-pipeline processor = time take by one process in non-pipeline processor = sum of all stage latencies= 200 + 400 + 150 + 250 + 200 = 1200 ps

3.2).

suppose total number of instructions = x (i'm assuming it as 'x' because it is not mentioned in question)

Pipeline processor:-

Number of cycles per instructions in pipeline (CPI) = 1

so,total latency of the LW instructions in pipeline processor = number of cycles taken by one LW instructions * number of LW instructions * cycle time

= 1 * (0.2*x) * 400ps

= 80x ps

now, putting different value of x,we will get different total latency of LW instructions as it is not mentioned in question.

Non-Pipeline processor:-

here,clock cycle time = 1200 ps

so,total latency of LW instructions in non-pipelined processor = number of LW instructions * clock cycle time in non-pipeline

= 0.2*x * 1200 ps

= 240x ps

3.3). presently,before splittling,clock cycle time = 400 ps

It is 400 ps mainly because of ID stage which has latency of 400 ps.

so,if we want to reduce the clock cycle time in pipeline,we must split the ID stage into two new stages ID1 and ID2.

after splitting ID1 latency = 200 ps , ID2 latency = 200 ps

new clock cycle time = max { 200, 200,200,150,250,200 } = 250 ps

clearly,clock cycle time has reduced from 400 ps to 250 ps.

Add a comment
Know the answer?
Add Answer to:
In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise as...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems...

    In this exercise, we examine how pipelining affects the clock cycle time of the processor. Problems in this exercise assume that individual stages of the datapath have the following latencies: [17pts] 3. IF ID EEX MEM | WB 250ps 350ps 150ps300ps200ps a. what is the clock cycle time in a pipelined and non-pipelined (ie, single cycle) processor? what is the total latency of one lw instruction in a pipelined and non-pipelined (i.e., single cycle) processor? b. What is the total...

  • (Pipelining 20%) The 5 stages of a processor have the following latencies: Fetch Decode Execute Memory...

    (Pipelining 20%) The 5 stages of a processor have the following latencies: Fetch Decode Execute Memory Write-back 250 350ps 300ps 500ps 80ps a. If the processor is non-pipelined: what is the clock cycle time for the processor? What is the latency of an R-type instruction in the processor? b. If the processor is pipelined: What is the clock cycle time for the processor? What is the latency of an R-type instruction in the processor? C. If you could split one...

  • 4.10 In this exercise, we examine how resource hazards, control hazards, and Instruction Set Arch...

    4.10 In this exercise, we examine how resource hazards, control hazards, and Instruction Set Architecture (ISA) design can affect pipelined execution. Problems in this exercise refer to the following fragment of MIPS code: sw r16,12(r6) lw r16,8(r6) beq r5,r4,Label # Assume r5!=r4 add r5,r1,r4 slt r5,r15,r4 Assume that individual pipeline stages have the following latencies: (NOTE THESE ARE DIFFERENT VALUES THAN THE ONES IN OTHER SIMILAR QUESTIONS) IF ID EX MEM WB 250ps 100ps 175ps 150ps 200ps 4.10.4 [10] <§4.5>...

  • 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 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...

  • The latencies of individual stages in five-stage MIPS (Microprocessor without Interlocked Pipeline Stages) Architecture are given...

    The latencies of individual stages in five-stage MIPS (Microprocessor without Interlocked Pipeline Stages) Architecture are given below. Instruction Instruction Fetch Register Read Arithmetic Logic Unit (ALU) Memory Access Register Write Latency 200ps 100ps 200ps 300ps 100ps a. (10 pts) What is the clock cycle time in a pipelined and non-pipelined processor? Pipelined version : ______________ Non-pipelined version : ______________ b. The classic five-stage pipeline MIPS architecture is used to execute the code fragments. Assume the followings: Register write is done...

  • 2. Problems in this exercise assume that logic blocks needed to implement a processor's datapath have...

    2. Problems in this exercise assume that logic blocks needed to implement a processor's datapath have the following latencies Instruction Memory Add Mux ALU Register Data Memory Sign-extension 200ps 70ps 20ps 90ps 90ps 250ps 15ps 2.1 If the only thing we need to do in a processor is fetch consecutive instructions (see the figure from Participation Activity 4.3.1 which is also COD Figure 4.6 (A portion of the datapath used for fetching instructions and incrementing the program counter)), what would...

  • 01. The logic latencies for individual stages in a processor are listed in the following table....

    01. The logic latencies for individual stages in a processor are listed in the following table. IF ID EXE MEM WB 350 ps 400 ps|370 ps450 ns 200 ps (a) What is the minimum clock period for a pipelined and a non- pipelined processor using these parameters? Please show all work. (b) What is total latency of a MIPS lw instruction in a pipelined processor? What is the throughput of a large series of lw instructions with no stalls or...

  • When processor designers consider a possible improvement to the processor data path, the decision usually depends on...

    When processor designers consider a possible improvement to the processor data path, the decision usually depends on the cost/performance trade-off. In the following three problems, assume that we are starting with a data path from Figure 4.2, where I Mem, Add, Mux, ALU, Regs, D-Mem, and Control blocks have latencies of 500ps, 150ps, 30ps, 110ps, 240ps, 350ps, and 100ps, respectively, and costs of 1100, 40, 10, 90, 220, 2000, and 500, respectively. Consider the addition of a multiplier to the...

  • In this exercise, we examine how data dependences affect execution in the basic 5-stage pipeline described...

    In this exercise, we examine how data dependences affect execution in the basic 5-stage pipeline described in Section 4.5. Problems in this exercise refer to th following sequence of instructions: addi $2,$2,22 SW $3,20($2) OR $4,$2,$3 Also, assume the following cycle times for each of the options related to forwarding: Without Forwarding With Full Forwarding 300ps With ALU-ALU Forwarding Only 250ps 290ps 4.9.1 [10] <4.5> Indicate dependences and their type. 4.9.2 [10] <S4.5> Assume there is no forwarding in this...

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