no assembly line

11
Datorteknik Pipeline1 bild 1 No Assembly line

Upload: noel-puckett

Post on 02-Jan-2016

15 views

Category:

Documents


1 download

DESCRIPTION

No Assembly line. Assembly line - start up. 1.2.3.4.5. ChassisAxelsMotorSeatsBody. Start up waste. t. Assembly line - stop. 1.2.3.4.5. ChassisAxelsMotorSeatsBody. Nothing to do. Assembly line. At start: final stations idle At stop: start stations idle - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: No Assembly line

Datorteknik Pipeline1 bild 1

No Assembly line

Page 2: No Assembly line

Datorteknik Pipeline1 bild 2

Assembly line - start up1. 2. 3. 4. 5.

ChassisAxels Motor Seats Body

Start up waste

t

Page 3: No Assembly line

Datorteknik Pipeline1 bild 3

Assembly line - stop1. 2. 3. 4. 5.

ChassisAxels Motor Seats Body

Nothing to do

Page 4: No Assembly line

Datorteknik Pipeline1 bild 4

Assembly line

At start: final stations idle

At stop: start stations idle

5 “stages” for each car

Each car still takes 5 stages but...

... we produce one car each step

Page 5: No Assembly line

Datorteknik Pipeline1 bild 5

Assembly line

Time-set car

Cyclesinstruction

= 55 cycles 1 instr.

= 15 cycles 5 instr.

Without pipelining:

With pipelining

Page 6: No Assembly line

Datorteknik Pipeline1 bild 6

Pipelining

T = Nq * CPI * Tc

We can bring this But what

down to 1 determines this?

The slowest pipeline stage

“Rate determining step”

Page 7: No Assembly line

Datorteknik Pipeline1 bild 7

Pipeline is most efficient...

...when the work is equally shared

“critical path” delay same for each stage

or

as close as possible

Page 8: No Assembly line

Datorteknik Pipeline1 bild 8

How do we break up a long critical path?

Insert flip - flops!

Page 9: No Assembly line

Datorteknik Pipeline1 bild 9

But - “no free lunch”

Delay: 30 ns 10 ns Latency: 1 cycle 3 cycles

Also: The flip-flops have a cost!

30 ns

10 ns 10 ns10 ns

Page 10: No Assembly line

Datorteknik Pipeline1 bild 10

Pipeline problem:

Start-up waste

Unexpected problem in a stage (stall)

No more orders (flush)

Page 11: No Assembly line

Datorteknik Pipeline1 bild 11

Branch

logic

Sgn/Ze

extend

Zero ext.

ALU

A

B

31

0

4+

+

= =

= =