29
1 VLSI Digital System Design Clocking

VLSI Digital System Design

  • Upload
    gyda

  • View
    47

  • Download
    0

Embed Size (px)

DESCRIPTION

Clocking. VLSI Digital System Design. Q D. logic. Q D. Clocked System. Basic structure. clock. Fundamental Timing Parameters. Positive edge-triggered flip-flop. clock. D. Q. Static Storage Elements. Level-sensitive latch Edge-triggered master-slave flip-flop RS latch - PowerPoint PPT Presentation

Citation preview

Page 1: VLSI Digital System Design

1

VLSI Digital System Design

Clocking

Page 2: VLSI Digital System Design

2

Clocked System

• Basic structure

Q DlogicQ D

clock

Page 3: VLSI Digital System Design

3

Fundamental Timing Parameters

• Positive edge-triggered flip-flopCycle Time Tc

Setup Time Ts

Hold Time Th

Clock-to-Q Delay Tq

clock

D

Q

Page 4: VLSI Digital System Design

4

Static Storage Elements

• Level-sensitive latch

• Edge-triggered master-slave flip-flop

• RS latch

• T flip-flop

• JK flip-flop

Page 5: VLSI Digital System Design

5

Level-Sensitive Latch

clock

QD

clock

QD

Negative level-sensitive latchPositive level-sensitive latch

01

01

Page 6: VLSI Digital System Design

6

Positive Edge-TriggeredMaster-Slave Flip-Flop

clock

Q

clock

D 01

01

Master stage Slave stage

Page 7: VLSI Digital System Design

7

RS Latch

Q

~Q

R

S

Q

~Q

R

S

Page 8: VLSI Digital System Design

8

RS Latch Behavior

• S R Q

• 0 0 Maintain previous state

• 0 1 0

• 1 0 1

• 1 1 Undefined

Page 9: VLSI Digital System Design

9

Incorrect T Flip-Flop

clock

Q

clock

01

01

~clear

Page 10: VLSI Digital System Design

10

JK Flip-Flop Behavior

• J K Q

• 0 0 Maintain previous state

• 0 1 0

• 1 0 1

• 1 1 Toggle

Page 11: VLSI Digital System Design

11

Level-Sensitive Latch Circuit

clock

Q

D

Level-sensitive latch

01

~clock

clock

~clock

clock

DQ

Level-sensitive latch circuit

Page 12: VLSI Digital System Design

12

Jamb Latch Circuit

Jamb latch circuit

~Q

D

~clock

clock

weakclock

Q

D

~clock~clock

clock

Level-sensitive latch circuit

Page 13: VLSI Digital System Design

13

Jamb Latch Circuit Design

• Replace feedback transmission gate with:

• Feedback inverter that is weaker thandriving inverter

• Either: Decrease gain of feedback transistors– Increase L to decrease W/L

• Or: Increase gain of driving inverter

Page 14: VLSI Digital System Design

14

Level-Sensitive Latch Circuit

clock

Q

D

~clock~clock

clock

Level-sensitive latch circuit

clock

Q

D

~clock

~clock

clock

Redrawn level-sensitive latch circuit

Page 15: VLSI Digital System Design

15

BufferedLevel-Sensitive Latch Circuit

clock

Q

D

~clock

~clock

clock

Redrawn level-sensitive latch circuit

clock

Q

D

~clock

~clock

clock

Buffered level-sensitive latch circuit

Page 16: VLSI Digital System Design

16

Detailed BufferedLevel-Sensitive Latch Circuit

clock

Q

D

~clock

~clock

clock

Buffered level-sensitive latch circuit

clock

Q

D

~clock

~clock

clock

Buffered level-sensitive latch circuit,

details

Page 17: VLSI Digital System Design

17

Simplified BufferedLevel-Sensitive Latch Circuit

Q

~clock

clock

Buffered level-sensitive latch circuit,

clock

Q

D

~clock

~clock

clock

Buffered level-sensitive latch circuit

D~clock

clock

with one connection deleted

Page 18: VLSI Digital System Design

18

Dynamic Latches

• Time before refresh required depends upon leakage current

• Leakage current depends upon temperature

• Refresh even if behavior independent of stored value– Intermediate voltage level causes

driven gates to draw current

Page 19: VLSI Digital System Design

19

Clock Skew

Q D

C

clockR

Inputpad

Page 20: VLSI Digital System Design

20

Phase-Locked Loop

Q D

C

clock

PLL

RInputpad

Page 21: VLSI Digital System Design

21

Higher On-Chip Clock Frequency

Q D

C

clock

Div by 4

RInputpad

PLL

Page 22: VLSI Digital System Design

22

Phase-Locked Loop Block Diagram

FilterPhaseDetector

VoltageControlledOscillator(VCO)

ChargePump

Div by 4

Reference clock fin

4 * fin

Page 23: VLSI Digital System Design

23

Probability of Upset

• Upset is the case of a storage element resolving to the wrong data value

• p = probability of upset= T

0 exp( - t

r/t

c )

• T0= constant for the circuit design

• tc

= time constant of resolution for the element

= 1/GB= 1/(gain-bandwidth product)= constant for the circuit design

Page 24: VLSI Digital System Design

24

Resolve Time, tr

• p = probability of upset= T

0 exp( - t

r/t

c )

• tr

= resolve time

= time allowed for the storage elementto resolve its state

Page 25: VLSI Digital System Design

25

Probability of Upset Example

• T0= 0.1 s

• tc

= 0.1 ns

• tr

= 5.0 ns

• p = T0 exp( - t

r/t

c )

= 0.1 * exp( -5.0/0.1 )= 0.1 * exp( -50 )= 0.1 * 1.9 * 10-22

= 1.9 * 10-23 Hz-1Hz-1s-1

Page 26: VLSI Digital System Design

26

Mean Time Between Upsets

• MTBU = 1/( p * fc * f

d )

• p = probability of upset= T

0 exp( - t

r/t

c )

• fc

= clock frequency

• fd

= data frequency

Page 27: VLSI Digital System Design

27

MTBU Example

• p = 1.9 * 10-23 Hz-1Hz-1s-1

• fc

= 100 MHz

• fd

= 1 Mhz

• MTBU = 1/( p * fc * f

d )

= 1/( 1.9 * 10-23 * 108 * 106 )= 1/( 1.9 * 10-9 )= 5.2 * 108 s= 16.4 years

Page 28: VLSI Digital System Design

28

MTBU Perspective

• May have thousands of storage elementsin a system

• May have thousands or millions of systems

• Provide margin of safety

• Maximize resolve time, tr

Page 29: VLSI Digital System Design

29

Synchronizer

Q DQ D

clock

synchronized dataasynchronous data