In digital circuits, a flip-flop is a term referring to an electronic circuit (a bistable multivibrator) that has two stable states and thereby is capable of serving as one bit of memory. Today, the term flip-flop has come to mostly denote non-transparent ( clocked or edge-triggered ) devices, while the simpler transparent ones are often referred to as latches; however, as this distinction is quite new, the two words are sometimes used interchangeably (see history).

A flip-flop is usually controlled by one or two control signals and/or a gate or clock signal. The output often includes the complement as well as the normal output. As flip-flops are implemented electronically, they require power and ground connections.

History

The first electronic flip-flop was invented in 1918 by William Eccles and F. W. Jordan. It was initially called the Eccles–Jordan trigger circuit and consisted of two active elements (electron tubes). The name flip-flop was later derived from the sound produced on a speaker connected to one of the back-coupled amplifiers outputs during the trigger process within the circuit. This original electronic flip-flop—a simple two-input bistable circuit without any dedicated clock (or even gate) signal, was transparent , and thus a device that would be labeled as a "latch" in many circles today.

The flip-flop types discussed below (D, RS, JK, T) were first discussed in a 1954 UCLA course on computer design by Montgomery Phister, and in his book Logical Design of Digital Computers. The author was at the time working at Hughes Aircraft under Dr. Eldred Nelson, who had coined the term JK for a flip-flop which changed states when both inputs were on. The other names were coined by Phister. They differ slightly from some of the definitions given below.

The origin of the name for the JK flip-flop is detailed by P. L. Lindley, a JPL engineer, in a letter to EDN , an electronics design magazine. The letter is dated June 13 , 1968 , and was published in the August edition of the newsletter. In the letter, Mr. Lindley explains that he heard the story of the JK flip-flop from Dr. Eldred Nelson, who is responsible for coining the term while working at Hughes Aircraft. Flip-flops in use at Hughes at the time were all of the type that came to be known as J-K. In designing a logical system, Dr. Nelson assigned letters to flip-flop inputs as follows: #1: A & B, #2: C & D, #3: E & F, #4: G & H, #5: J & K.

Implementation

Flip-flops can be either simple (transparent) or clocked. Simple flip-flops can be built around a pair of cross-coupled inverting elements: vacuum tubes, bipolar transistors, field effect transistors, inverters, and inverting logic gates have all been used in practical circuits—perhaps augmented by some gating mechanism (an enable/disable input). The more advanced clocked (or non-transparent) devices are specially designed for synchronous (time-discrete) systems; such devices therefore ignore its inputs except at the transition of a dedicated clock signal (known as clocking, pulsing, or strobing). This causes the flip-flop to either change or retain its output signal based upon the values of the input signals at the transition. Some flip-flops change output on the rising edge of the clock, others on the falling edge.

Clocked flip-flops are typically implemented as master–slave devices where two basic flip-flops (plus some additional logic) collaborate to make it insensitive to spikes and noise between the short clock transitions; they nevertheless also often include asynchronous clear or set inputs which may be used to change the current output independent of the clock.

Flip-flops can be further divided into types that have found common applicability in both asynchronous and clocked sequential systems: the SR ("set-reset"), D ("data" or "delay"), T ("toggle"), and JK types are the common ones; all of which may be synthesized from (most) other types by a few logic gates. The behavior of a particular type can be described by what is termed the characteristic equation, which derives the "next" (i.e., after the next clock pulse) output, Q n e x t , in terms of the input signal(s) and/or the current output, Q .

SR flip-flops

The fundamental latch is the simple SR flip-flop (also commonly known as RS flip-flop ), where S and R stand for set and reset , respectively. It can be constructed from a pair of cross-coupled NAND or NOR logic gates. The stored bit is present on the output marked Q.

Normally, in storage mode, the S and R inputs are both low, and feedback maintains the Q and Q outputs in a constant state, with Q the complement of Q. If S is pulsed high while R is held low, then the Q output is forced high, and stays high even after S returns low; similarly, if R is pulsed high while S is held low, then the Q output is forced low, and stays low even after R returns low.


The next-state equation of the SR flip-flop is

where Q is the current state . Q n e x t becomes Q (the stored value) at clock edge.

('X' denotes a Don't care condition; meaning the signal is irrelevant)

T flip-flops

If the T input is high, the T flip-flop changes state ("toggles") whenever the clock input is strobed. If the T input is low, the flip-flop holds the previous value. This behavior is described by the characteristic equation:

and can be described in a truth table:

When T is held high, the toggle flip-flop divides the clock frequency by two; that is, if clock frequency is 4 MHz, the output frequency obtained from the flip-flop will be 2 MHz. This "divide by" feature has application in various types of digital counters. A T flip-flop can also be built using a JK flip-flop (J & K pins are connected together and act as T) or D flip-flop (T input and Q previous is connected to the D input through an XOR gate).

JK flip-flop

The JK flip-flop augments the behavior of the SR flip-flop (J=Set, K=Reset) by interpreting the S = R = 1 condition as a "flip" or toggle command. Specifically, the combination J = 1, K = 0 is a command to set the flip-flop; the combination J = 0, K = 1 is a command to reset the flip-flop; and the combination J = K = 1 is a command to toggle the flip-flop, i.e., change its output to the logical complement of its current value. Setting J = K = 0 does NOT result in a D flip-flop, but rather, will hold the current state. To synthesize a D flip-flop, simply set K equal to the complement of J. The JK flip-flop is therefore a universal flip-flop, because it can be configured to work as an SR flip-flop, a D flip-flop, or a T flip-flop.

NOTE: The flip-flop is positive-edge triggered (rising clock pulse) as seen in the timing diagram.

The characteristic equation of the JK flip-flop is:

Q_{next} = J\overline Q + \overline KQ

and the corresponding truth table is:

D flip-flop

The D flip-flop is the most common flip-flop in use today.

The Q output always takes on the state of the D input at the moment of a rising clock edge (or falling edge if the clock input is active low). It is called the D flip-flop for this reason, since the output takes the value of the D input or Data input, and Delays it by one clock count. The D flip-flop can be interpreted as a primitive memory cell, zero-order hold, or delay line. Whenever the clock pulses, the value of Q next is D and Q prev otherwise.

Truth table:

('X' denotes a Don't care condition, meaning the signal is irrelevant)

These flip-flops are very useful, as they form the basis for shift registers, which are an essential part of many electronic devices. The advantage of the D flip-flop over the D-type latch is that it "captures" the signal at the moment the clock goes high, and

Flip Flop Cafe Wildwood Crest NJ

The Flip Flop Cafe in WildWood Crest New Jersey is a 60's style Cafe serving Breakfast and Lunch. The Flip Flop Cafe is a family restaurant and casual dress and of course flip ...

...

Welcome! ¡Bienvenido! | Flip Flop Spanish Workbooks | Sra. Gose

Click on CLASSES in the menu to register for a free downloadable Spanish Lesson.

...

Flip-flop (electronics) - Wikipedia, the free encyclopedia

In digital circuits, a flip-flop is a term referring to an electronic circuit (a bistable multivibrator) that has two stable states and thereby is capable of serving as one bit of ...

...

flip*flop

flip*flop® Das ORIGINAL seit 1998! Alle Farben und die komplette Kollektion hier unter www.flip-flop.de

...

Flip-flop - Wikipedia, the free encyclopedia

Flip-flops, also called jandals or thongs, are a simple type of footwear. Flip-flop may also refer to: Flip-flop (electronics), the bistable multivibrator, a circuit with two ...

...

Flip-Flop Gymnastics WestHampton Beach New York

© Copyright All Rights Reserved Flip-Flop Gymnastics. Web Site by Suffolk Online Advertising.

...

Welcome To The 7th Annual Flip Flop Regatta!

Despite the economic downturn, over 74 boats from around the Mass PHRF NE/SE regions turned out to race in 6 classes for the 7th annual Flip Flop Regatta!

...

Flip Flop Style

Various products including many pendants, brooches, bracelets, chokers, jelly jewelry and other beach themed accessories including flip flops.

...

Operation DOMA Flip Flop: Campaign to make sure the Prez keeps his ...

Welcome to the official Facebook Page of Operation DOMA Flip Flop: Campaign to make sure the Prez keeps his promise! Get exclusive content and interact with Operation DOMA Flip ...

...

Flip Flop Foundation

The Flip Flop Foundation provides basic necessities to diadvantaged Zambian children, including footwear, clothing, food, school supplies, health & hygiene supplies, mosquito nets ...

...