Docsity

Flip-Flops Handout: Identifying Outputs & Creating Timing Diagrams - Prof. Marie-Christine, Study notes of Electrical and Electronics Engineering

Partial preview of the text

Download Flip-Flops Handout: Identifying Outputs & Creating Timing Diagrams - Prof. Marie-Christine and more Study notes Electrical and Electronics Engineering in PDF only on Docsity!

Before we start….

timing issues (again!)g ( g )

X

Y F^ F is Boolean Output

F =

F(t) =

X

Y

F

M.-C. BRUNET ECE 110 UIUC (^) 16.

F

In a circuit, identify combinational

(called Boolean here) and sequential

outputs! That will help you to fill in

the timing diagrams.g g

ff inputs ff inputs

Flip-Flop outputs:

clock

Pulse (t-1) Pulse (t) ( Arrows show dependence)

May change only at specific times (see triggering type). output (t) depends on inputs (t-1) and t t (t 1)

ff inputs ff inputs

flip-flop output

flip-flop output

Boolean outputs: May change as soon as inputs change

inputs inputs

on output (t-1).

p g (ignore ns delay). output (t) depends on inputs (t)

Boolean output

Boolean output

(if ff is rising-edge)

M.-C. BRUNET ECE 110 UIUC (^) 16.

Note: In all the circuits, initial values are given; The circuitry producing them is not shown (for clarity reasons).

A sequential circuit with a rising edge triggered D ff.

X D^ D Q Q Y D^ Q C clock

Q

( previous )

The output D is Boolean / Sequential

The current D depends on the (^ previous current ) X,Y

The current Q depends on the (^ previouscurrent ) D

The output Q is Boolean / Sequential

clock

XX Y

D

M.-C. BRUNET ECE 110 UIUC (^) 16.

Q 1

Solutions at the end of the handout

Example 2: A rising-edge triggered JK ff

J Q
C
X Q

Characteristic table: C

clock

Y K

The output Q is Boolean / Sequential

clock

The current Q depends on the ( previouscurrent ) X,Y.

The output Q is Boolean / Sequential

X
Y
QQ 11

M.-C. BRUNET ECE 110 UIUC (^) 16.

Example 4: A sequential circuit with a K JK ff

(and a feedback loop!)

X J JJ^ QQ^ Q
C

clock

Q
1 K K
J

Boolean / Sequential J =^ J

K =

The current J depends on the ( previouscurrent ) X and Q.

K
Q

clock

current

The current Q depends on the ( previouscurrent ) J and K.

X
J
Q 0

M.-C. BRUNET ECE 110 UIUC (^) 16.

K

Example 5: A sequential circuit with two K flip-flops.

X D Q J JJ^ QQ^ Q^0
C
Q 0
K K
C Q^1

clock

X D Q
Q + 1 = J = K =

Q 0

Q 1 0

Clock 1 2 3 4 5 6 7

Pulse

K

J

X 0 0 1 1 1 1 1

Q 0 0

M.-C. BRUNET ECE 110 UIUC (^) 16.

Just like a timing diagram!

Preserving/Storing Information

Example 6:Example 6:

D Q
C
D Q

clock

clock D

Q 1

M.-C. BRUNET ECE 110 UIUC (^) 16.

Preserving/Storing Information

Example 7: what happens next clock pulse?Example 7: what happens next clock pulse?

D Q
C
D Q
C
D Q
C
D Q
C

clock

M.-C. BRUNET ECE 110 UIUC (^) 16.

D Q

To think about…. Design the in D Q out (inside of the) C

clock

LOAD

L

component using a D ff (see functioning on previous page)

in out

in out D QQ C

clock (^) L

You must connect the inputs (in, clock, L)

M.-C. BRUNET ECE 110 UIUC (^) 16.

and the output (out) somehow to the D flip- flop so that it operates as expected.

Y

X D Q
C
D Q

( previous )

The output D is Boolean / Sequential

Solutions:

clock

The current D depends on the (^ previous current ) X,Y

The current Q depends on the (^ previouscurrent ) D

The output Q is Boolean / Sequential

clock

XX

Y

D

M.-C. BRUNET ECE 110 UIUC (^) 16.

Q 1