Question

In: Computer Science

4.16 Inthisexercise,weexaminehowpipeliningaffectstheclockcycletimeofthe processor. Problems in this exercise assume that individual stages of the datapath have the...

4.16 Inthisexercise,weexaminehowpipeliningaffectstheclockcycletimeofthe processor. Problems in this exercise assume that individual stages of the datapath have the following latencies:
250ps 350ps 150ps 300ps 200ps
Also, assume that instructions executed by the processor are broken down as follows:
45% 20% 20% 15%
4.16.1 [5] <§4.5> What is the clock cycle time in a pipelined and non-pipelined processor?
4.16.2 [10]<§4.5>WhatisthetotallatencyofanLDURinstructioninapipelined and non-pipelined processor?
4.16.3 [10] <§4.5> If we can split one stage of the pipelined datapath into two new stages, each with half the latency of the original stage, which stage would you split and what is the new clock cycle time of the processor?
4.16.4 [10]<§4.5>Assumingtherearenostallsorhazards,whatistheutilization of the data memory?
4.16.5 [10]<§4.5>Assumingtherearenostallsorhazards,whatistheutilization
of the write-register port of the “Registers” unit?

Solutions

Expert Solution

1. For the pipelined processor, the clock cycle time is determined by the slowest stage i.e 350 ps.

For the non-pipelined processor, the clock cycle time is given as the sum of latencies all stage i.e

250+350+150+300+200= 1250 ps

2. Pipelining enhances the latency as compared to non-pipelined system.

So, For non-pipelined processor latency will remain same i.e 1250ps.

For pipelined processor latency is given as number of stages * cycle time i.e 5*350= 1750ps

3. Split ID into two stages with (350/2)=175ps. Now the new clock cycle time of the processor = 300 ps since this become the new longest latency in datapath.

If we conside instructions executed by the following operation by processor :
Alu 45%

beq 20%

lw 20%

sw 15%

4. Data memory is utilized by lw and sw instructions, so the utilization will be = (20+15) i.e 35% of the clock cycle

5. Write-register port is generally used by ALU and lw instructions, so theutilization will be = (45+20) i.e 65% of the clock cycle.


Related Solutions

Assume you have the following jobs to execute with one processor, with the jobs arriving in the order listed above.
i t(pi) 0 80 1 20 2 10 3 20 4 50 Assume you have the following jobs to execute with one processor, with the jobs arriving in the order listed above. Suppose a system uses FCFS scheduling. Create a Gantt chart illustrating the execution of these processes . b   What is the turnaround time for process p3? c.   What is the average wait time for the processes? Using the process load above, suppose a system uses SJN scheduling. d...
1. Describe two individuals from each of Erikson's stages of psychosocial development. One individual will have...
1. Describe two individuals from each of Erikson's stages of psychosocial development. One individual will have successfully resolved each stage while the other will have not. Explain, in your descriptions, what may have led to each individual's outcome and how this has played a role in his or her personality. 2. Identify your current stage of psychosocial development. Describe how Erikson's theory is or is not relevant to your personal situation. Explain where you are in terms of resolution of...
Assume you have the following jobs to execute with one processor: i t(pi) Priority 0 80...
Assume you have the following jobs to execute with one processor: i t(pi) Priority 0 80 2 1 25 4 2 15 3 3 20 4 4 45 1 The jobs are assumed to arrive at the same time. Using priority scheduling followed by FCFS, do the following: Create a Gantt chart illustrating the execution of these processes. What is the turnaround time for process p1? What is the average wait time for the processes?
Assume you have the following jobs to execute with one processor: i t(pi) Arrival Time 0...
Assume you have the following jobs to execute with one processor: i t(pi) Arrival Time 0 75 0 1 40 10 2 25 10 3 20 80 4 45 85 Using the table, assume the context switch time is five time units with RR scheduling. Create a Gantt chart illustrating the execution of these processes. What is the turnaround time for process p3? What is the average wait time for the processes?
1. Assume we have 8 registers, R0~R7, and we have a pipeline of 6 stages: Instruction...
1. Assume we have 8 registers, R0~R7, and we have a pipeline of 6 stages: Instruction Fetch (IF), Instruction Issue (II), Operands Fetch (OF), Execution (EX), Write Back (WB), and Commitment (CO). Each stage needs exactly 1 cycle to finish its work. Also assume that the pipeline supports forwarding, which means the result of WB can be forwarded to OF. Given the following piece of instructions: R1 = R0 + R2 R3 = R4 + R5 R6 = R1 +...
Assume that at time 5 no system resources are being used except for the processor and...
Assume that at time 5 no system resources are being used except for the processor and memory. Now consider the following events: At time 5: P1 executes a command to read from disk unit 1. At time 15: P2's time slice expires. At time 18: P4 executes a command to write to disk unit 1 At time 20: P3 executes a command to read from disk unit 2. At time 24: P2 executes a command to write to disk unit...
Assume that at time 3 no system resources are being used except for the processor and...
Assume that at time 3 no system resources are being used except for the processor and memory. Now consider the following events: At time 2: P0 is ready. At time 4: P0 is selected by CPU scheduler   At time 8: P0 executes a command to read from disk 0. At time 16: An interrupt occurs from disk unit 0: P0's read is complete. For each time 2, 4, 8 and 16, identify which state process is in. If a process...
What are the stages of life? Are there different problems in life as we progress through...
What are the stages of life? Are there different problems in life as we progress through life? Tell me in your answer what Jung's take on the stages of life are. 2. How does Jung compare death to the sun?
Let us assume that you are designing a multi-core processor to be fabricated on a fixed...
Let us assume that you are designing a multi-core processor to be fabricated on a fixed silicon die area budget of A. As an architect, you are to partition this total area of A into one large core and many small cores. The large core will have an area of S, while the small cores will each have an area of 1 (note that there will be A - S number of small cores). Assume that the single-threaded performance of...
CASE STUDIES - AHIMA 4.16 - COMPETENCY IV.3 you have just been hired as the revenue...
CASE STUDIES - AHIMA 4.16 - COMPETENCY IV.3 you have just been hired as the revenue cycle manager at a local acute care hospital. one of the first items of business is to review the processes in place for the revenue cycle, and you are surprised to see that no external coding audits have been done for several years. when you ask the coding manager why no external audits have been performed, she explains that the HIM director was told...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT