Docsity

Sequential Circuit Design - CMOS Design Methodologies - Lecture Slides, Slides of Computer Science

Partial preview of the text

Download Sequential Circuit Design - CMOS Design Methodologies - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Sequential Circuit Design:

Part 1

-^

Design of memory elements– Static latches– Pseudo-static latches– Dynamic latches

-^

Timing parameters

-^

Two-phase clocking

-^

Clocked inverters

Sequential Logic

2 s torag e mechanis ms• pos itive feedback• charge-bas ed

Φ LOGIC tp,comb

In

Out

FFs

Sequencing Cont.

•^

If tokens moved through pipeline at constant speed, nosequencing elements would be necessary

-^

Ex: fiber-optic cable–

Light pulses (tokens) are sent down cable

-^

Next pulse sent before first reaches end of cable

-^

No need for hardware to separate pulses

-^

But

dispersion

sets min time between pulses

•^

This is called

wave pipelining

in circuits

•^

In most circuits, dispersion is high–

Delay fast tokens so they don’t catch slow ones.

Sequencing Overhead

-^

Use flip-flops to delay fast tokens so they movethrough exactly one stage each cycle.

-^

Inevitably adds some delay to the slow tokens

-^

Makes circuit slower than just the logic delay– Called sequencing overhead

-^

Some people call this clocking overhead– But it applies to asynchronous circuits too– Inevitable side effect of maintaining sequence

Flip-Flop: Timing Definitions

DATASTABLE

In

t

t^ setup

t^ hold

DATASTABLE

Out

t

t^ pFF

t

Φ

Maximum Clock Frequency

LOGICt^ p,comb

Φ FFs

Latch Design

-^

Transmission gate+ No V

dropt

-^

Requires inverted clock

D

Q

φ φ

Latch Design

-^

Inverting buffer+ Restoring+ No backdriving+ Fixes either

  • Output noise sensitivity• Or diffusion input
    • Inverted output

D

φ φ

X^

Q

D

Q

φ φ

Latch Design

-^

Buffered output+ No backdriving

-^

Widely used in standard cells+ Very robust (most important)-

Rather large

-^

Rather slow (1.5 – 2 FO4 delays)

-^

High clock loading

φ φ

Q

D^

X φ φ

Latch Design

-^

Tristate feedback+ Static– Backdriving risk

-^

Static latches are now essential

φ φ^

φ φ

Q

D^

X

Design of Memory Elements

Q

C

C

C

C

D

Φ

Φ

Φ

Φ

Q

Positive edge-triggered D flip-flopWhy use inverters on outputs?

Skew Problem :

Φ

may be delayed with respect to

Φ

(both may be 1 at the same time)

This is what happens-

Q

Q

D

C

Φ Φ

Φ

in

1

Transmission gate acts abuffer, should have samedelay as inverter

Eliminating/Reducing skew:

Latch design

Static D latch

“Jamb” latch

Weak inverter

C

Φ

Φ

C

C

D

Φ

Φ

D

Q

Q

Flip-Flop Design

-^

Flip-flop is built as pair of back-to-back latches

D^

Q

φ φ

φ φ

X

D

φ φ

φ φ

X

Q Q

φ φ

φ φ

Enable

-^

Enable: ignore clock when en = 0– Mux: increase latch D-Q delay– Clock Gating: increase en setup time, skew

D^

Q Latch D^

Q φ en φ en

Latch

D

Q φ

1 0 en

Latch D^

Q φ^ en

D

Q φ

1 0 en

D^

Q φ^ en

Flop

Flop

Flop

Symbol

Multiplexer Design

Clock Gating Design