last lecture today’s lecture reading (ch...

Post on 04-Oct-2020

4 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

EE141

1

EE141 EECS141 1 Lecture #18

EE141 EECS141 2 Lecture #18

  Project Phase 2 now on the web-site.   Hw 6 due today.   New homework to be posted in a week.   Cory Hall closed on Monday (Power Outage)

  Instructional computers in 353 Cory should come back on line on Tu.

 Enjoy Spring Break!

EE141

2

EE141 EECS141 3 Lecture #18

 Last lecture  Domino Logic   Introduction to registers

 Today’s lecture  Registers   Timing

 Reading (Ch 7)

EE141 EECS141 4 Lecture #16

EE141

3

EE141 EECS141 5 Lecture #16

Output = f ( In ) Output = f ( In, Previous In )

EE141 EECS141 6 Lecture #16

D Clk

Q D Clk

Q

  Register: edge-triggered stores data when clock rises

Clk Clk D D Q Q

  Latch: level-sensitive clock is low - hold mode clock is high - transparent

EE141

4

EE141 EECS141 7 Lecture #16

Register Latch

Clk

D Q

t C → Q

Clk

D Q

t C → Q

t D → Q

EE141 EECS141 8 Lecture #16

t CLK

t D

t c → q

t hold t su

t Q DATA

STABLE

DATA STABLE

Register

CLK

D Q

EE141

5

EE141 EECS141 9 Lecture #16

D

CLK

CLK

Q

Dynamic Static

EE141 EECS141 10 Lecture #16

EE141

6

EE141 EECS141 11 Lecture #16

Gain should be larger than 1 in the transition region

EE141 EECS141 12 Lecture #16

D

CLK

CLK

D

Converting into a MUX Forcing the state (can implement as NMOS-only)

Use the clock as a decoupling signal, that distinguishes between the transparent and opaque states

EE141

7

EE141 EECS141 13 Lecture #16

D

CLK

CLK

D

EE141 EECS141 14 Lecture #16 EE141

Negative latch (transparent when CLK= 0)

Positive latch (transparent when CLK= 1)

CLK

1

0 D

Q 0

CLK

1 D

Q

EE141

8

EE141 EECS141 15 Lecture #16

EE141 EECS141 16 Lecture #16

NMOS only Non-overlapping clocks

EE141

9

EE141 EECS141 17 Lecture #16

  N latch is transparent when Φ = 0

  P latch is transparent when Φ = 1

EE141 EECS141 18 Lecture #16

Two opposite latches trigger on edge Also called master-slave latch pair

EE141

10

EE141 EECS141 19 Lecture #16

Multiplexer-based latch pair

EE141 EECS141 20 Lecture #16

D

Q

CLK

2 0.5

0.5

1.5

2.5

tclk-q(LH)

0.5 1 1.5 2 2.5 0 time, nsec

Volts

tclk-q(HL)

EE141

11

EE141 EECS141 21 Lecture #16

EE141 EECS141 22 Lecture #16

EE141

12

EE141 EECS141 23 Lecture #16

Circuit before clock arrival (Setup-1 case)

EE141 EECS141 24 Lecture #16

Circuit before clock arrival (Setup-1 case)

EE141

13

EE141 EECS141 25 Lecture #16

Circuit before clock arrival (Setup-1 case)

EE141 EECS141 26 Lecture #16 26

Circuit before clock arrival (Setup-1 case)

EE141

14

EE141 EECS141 27 Lecture #16 27

Circuit before clock arrival (Setup-1 case)

EE141 EECS141 28 Lecture #16 28

Hold-1 case

0

EE141

15

EE141 EECS141 29 Lecture #16

Hold-1 case

0

EE141 EECS141 30 Lecture #16

Hold-1 case

0

EE141

16

EE141 EECS141 31 Lecture #16

Hold-1 case

0

EE141 EECS141 32 Lecture #16

Hold-1 case

0

EE141

17

EE141 EECS141 33 Lecture #16

Keepers can be added to “staticize (?!)”

EE141 EECS141 34 Lecture #16

Negative latch (transparent when CLK= 0)

Positive latch (transparent when CLK= 1)

EE141

18

EE141 EECS141 35 Lecture #16

AND latch Example: logic inside the latch

EE141 EECS141 36 Lecture #16

EE141

19

EE141 EECS141 37 Lecture #16

Master-Slave Latches

D Clk

Q D Clk

Q

Clk

Data D Clk

Q Clk Data

Pulse-Triggered Latch

L1 L2 L

Ways to design an edge-triggered sequential cell:

EE141 EECS141 38 Lecture #16

EE141

20

EE141 EECS141 39 Lecture #16

EE141 EECS141 40 Lecture #16

EE141

21

EE141 EECS141 41 Lecture #16

D Clk

Q

D

Q

Clk tclk-q thold

PWm tsetup

td-q

Delays can be different for rising and falling data transitions

T

EE141 EECS141 42 Lecture #16

D Clk

Q

D

Q

Clk

tclk-q

thold

T

tsetup

Delays can be different for rising and falling data transitions

EE141

22

EE141 EECS141 43 Lecture #16

Cycle time (max): TClk > tclk-q + tlogic + tsetup

Race margin (min): thold < tclk-q,min + tlogic,min

tclk-q tclk-q,min

tlogic tlogic,min

tsetup, thold

EE141 EECS141 44 Lecture #16

  Clock skew   Spatial variation in temporally equivalent clock

edges; deterministic + random, tSK

  Clock jitter   Temporal variations in consecutive edges of the

clock signal; modulation + random noise   Cycle-to-cycle (short-term) tJS   Long term tJL

  Variation of the pulse width   Important for level sensitive clocking

EE141

23

EE141 EECS141 45 Lecture #16

Sources of clock uncertainty

EE141 EECS141 46 Lecture #16

  Both skew and jitter affect the effective cycle time   Only skew affects the race margin (usually)

Clk

Clk

tSK

tJS

EE141

24

EE141 EECS141 47 Lecture #16

# of registers

Clk delay Insertion delay Max Clk skew

Earliest occurrence of Clk edge Nominal – δ/2

Latest occurrence of Clk edge

Nominal + δ /2

δ

top related