Everything2
Near Matches
Ignore Exact
Full Text
Everything2

SR Flip-Flop

created by jakohn

(thing) by jakohn (2.2 mon) (print)   ?   (I like it!) Fri May 05 2000 at 18:35:27

A SR Flip-Flop is the next evolutionary step up from the SR Latch. Instead of responding to input as long as the clock is high, the Flip-Flop responds only on the clock edge. That is, the state of the flip-flop can change only when the clock input changes.

One way to create a SR Flip-Flop is to use two SR Latches in a master-slave configuration:

      +---------+   +---------+            clk S R |   Y    
S(H)--|S       Y|---|S       Y|---Y(H)       _ ----+-------
      |  latch  |   |  latch  |            _/_ 0 0 | rest 
R(H)--|R       Y|o--|R       Y|o--Y(L)     _/_ 1 0 |   1
      |         |   |         |            _/_ 0 1 |   0
    +-|C        | +-|C        |            _/  1 1 | *bad*
    | +---------+ | +---------+
    o             |
   /_\            |
    |             |
Clk-+-------------+

Be sure to see bistable multivibrator, and SR Latch for more details on how this works.

When the waveform on Clk is low, the values on S and R load into the first latch, the master, and this affects the outputs from the master stage; however, at this time, the slave is closed, and the values of the slave's output cannot change. Then, when Clk goes high, the master closes, and the slave opens, allowing the stored SR command from the master to ripple across. After a short delay, the proper value appears on the outputs Y(H) and Y(L).

In this case, the flip-flop responds to a rising edge on Clk. If the inverter were placed on the second latch instead of the first, the flip-flop would respond to a falling edge. In either case, the edge upon which the device triggers is called the active edge. In a flip-flop, there are a number of timing issues that need to be carefully examined. See setup time, hold time, propagation delay. Changing the inputs (S,R) during these times can result in metastability in the flip-flop.

See also D Flip-Flop, JK Flip-Flop, T Flip-Flop, synchronous sequential network, state machine, direct set, direct clear, synchronous design principles.

Also RS-Flip-Flop.


printable version
chaos

SR Latch JK Flip-Flop D flip-flop bistable multivibrator
flip-flop Springfield Nuclear Power Plant D Latch How an S-R latch can destroy the universe
SR Flip Flop Digital circuit component metastable Cabazon, California
Synchronous sequential network Set-up Time Hold Time register
Pin-outs for 7400 chips Rest DAC
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
Nodes to live by:
June 30, 2006
Pascal's Triangle
A foot of jade is worth an inch of time
Search Engine Mechanics
OLA Scary Story Contest 2000
Japan's 21st century crisis
Welcome to the Involuntary Agnostics Association
Madonna
Meal, ready to eat
Scientology v. the Internet
Be a problematic duck over there
The night I saw a man get his head blown off
Why I am going to pretend I am a girl online from now on
New Writeups
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
octillion369
Death Knight(person)
XWiz
Are you hoping for a miracle?(review)
E2 is a by-product of the existence of The Everything Development Company