introduction to sequential logic design

16
Introduction to Sequential Logic Design Flip-flops

Upload: portia-roman

Post on 15-Mar-2016

62 views

Category:

Documents


8 download

DESCRIPTION

Introduction to Sequential Logic Design. Flip-flops. Prev…. Latches S-R S-bar-R-bar S-R with enable signal D. FF vs. Latch. Latches and flip-flops (FFs) are the basic building blocks of sequential circuits. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Sequential Logic Design

Introduction to Sequential Logic Design

Flip-flops

Page 2: Introduction to Sequential Logic Design

Prev… Latches

S-R S-bar-R-bar S-R with enable signal D

Page 3: Introduction to Sequential Logic Design

FF vs. Latch

Latches and flip-flops(FFs) are the basic building blocks of sequential circuits.

latch: bistable memory device with level sensitive triggering (no clock), watches all of its inputs continuously and changes its outputs, independent of a clocking signal.

flip-flop: bistable memory device with edge-triggering (with clock), samples its inputs, and changes its output only at times determined by a clocking signal.

Page 4: Introduction to Sequential Logic Design

Edge triggered D Fli-Flop A D FF combines a pair of D latches.

Master/slave D FF

Positive-edge-triggered D FF Negative-edge-triggered D FF Edge-Triggered D FF with Enable Scan FF

Page 5: Introduction to Sequential Logic Design

Potive-Edge-triggered D flip-flop

Dynamic-input indicator

Page 6: Introduction to Sequential Logic Design

Edge-triggered D flip-flop behavior

Page 7: Introduction to Sequential Logic Design

D flip-flop timing parameters Propagation delay (from CLK) Setup time (D before CLK) Hold time (D after CLK)

Page 8: Introduction to Sequential Logic Design

D FF with asynchronous inputs

Force the D FF to a particular state independent of the CLK and D inputs. PR (Preset) and CLR (Clear)

Page 9: Introduction to Sequential Logic Design

Negative-edge triggered D FF

Simply inverts the clock input. Active low.

Page 10: Introduction to Sequential Logic Design

Edge-triggered D FF with Enable

Page 11: Introduction to Sequential Logic Design

Scan flip-flops -- for testing

TE = 0 ==> normal operation TE = 1 ==> test operation

All of the flip-flops are hooked together in a daisy chain from external test input TI.

Load up (“scan in”) a test pattern, do one normal operation, shift out (“scan out”) result on TO.

Scan FF

Page 12: Introduction to Sequential Logic Design

J-K flip-flops

Not used much anymore

Page 13: Introduction to Sequential Logic Design

T (toggle)flip-flops

A T FF changes state on every tick of the clock. (be toggled on every tick)

Q has precisely half the frequency of the T. Important for counters

Positive-edge-triggered T FF

Page 14: Introduction to Sequential Logic Design

T (toggle)flip-flops with enable

Page 15: Introduction to Sequential Logic Design

Summary D FF J-K FF T FF