SR Flip-Flop

Preview:

DESCRIPTION

SR Flip-Flop. The SR Flip-Flop How it works Where does it fit with others Master-Slave Flip-Flops Negative Edge Triggered Flip-Flops. The SR Flip-Flop. S. S R Action 0 0 Keep state 0 1 Q = 0 1 0 Q = 1 1 1 Undefined. Q. Q. R. Clocked SR Flip-Flop. S. Q. CLK. - PowerPoint PPT Presentation

Citation preview

SR Flip-Flop

The SR Flip-Flop How it works Where does it fit with others Master-Slave Flip-Flops Negative Edge Triggered Flip-Flops

The SR Flip-Flop

S

R

Q

Q

S R Action0 0 Keep state0 1 Q = 01 0 Q = 11 1 Undefined

Clocked SR Flip-Flop

S

R

Q

Q

CLK

Clocked D Flip-Flop

Q

Q

CLK

D

JK Flip-Flop

J

K

Q

Q

CLK

T Flip-Flop

Q

Q

CLK

T

Master-Slave Flip-Flop

J

K

Q

Q

CLK

Master-Slave Flip-Flop

Happens only once per clock cycle Acts as a double check

Negative Edge Triggered D Flip-Flop

Q

Q

D

CLK

Negative Edge Triggered D Flip-Flop

Same benefits as a Master-Slave More efficient

Finite State Machines

What they are Build One

What it is

A way of modelling using “states” States Transitions Actions

Example From Book (Pg. 464)

Modulo-4 Synchronous Counter 00 to 11 and repeats Has one input to reset the counter and start over

R S1S0 T+1 T+10 0 0 01 010 0 1 10 100 1 0 11 110 1 1 00 001 0 0 00 001 0 1 00 001 1 0 00 001 1 1 00 00

How Do We Build This?

Facts Two Bites of storage One input Two output

Start with two D Flip-Flops Four states so four ANDs Two outputs so two ORs Plug it all together and fill in the gaps

The Build (Pg. 467)

D Q

QCLK

D Q

Q

RESET

q1

q0

Recommended