Question:
How do flip-flops store information?
AndrewJ
2012-02-18 16:18:59 UTC
I am learning about flip flops and logic gates. I understand that flip flops store an output. My question is how (physically)? For example, as I understand it, CD's store output by making little laser holes in a shiny surface to create the binary 1s and 0s. What do the flip-flops do?
Five answers:
2012-02-18 20:18:47 UTC
In layman's terms it's a consequence of how the gates are organized inside the circuit. They are organized in such a way so as to have as their output on the other end of the circuit either a 1 or 0(low or high voltage) according to what level you want to have again (or "store") on the output. And then the same circuit will keep or reproduce again as the output that same level even after the next clock cycle .......this depends on the control inputs(which are just inputs to those gates...for instance one might be an input to an AND gate...so the control input determines whether the output of the AND changes.....if the other input signal is 1 it will not be reproduced on the output of the AND through unless the control input is also 1). It's basically just all gate triggering and how fast they get triggered etc. It's not really "storing" a signal, just closing a circuit or amplifying a signal.. like a continuous amplifier or repeater.
Lilly
2016-05-17 05:58:29 UTC
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 . 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. 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[4] 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"[5]), 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, Qnext, in terms of the input signal(s) and/or the current output, Q. Set–reset flip-flops (SR flip-flops) The symbol for an SR latch.The fundamental latch is the simple SR 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. SR Flip-Flop operation (BUILT WITH NOR GATES) Characteristic table Excitation table S R Action Q(t) Q(t+1) S R Action 0 0 Keep state 0 0 0 X No change 0 1 Q = 0 0 1 1 0 reset 1 0 Q = 1 1 0 0 1 set 1 1 Unstable 1 1 X 0 race condition S------|||||||||||||||||||||||||------... ````````||||||||||||||||||||||||| ````````||||||||||||||||||||||||| ````````|||||||||||||||||||||||||`````... _ R------||||||||||||||||||||||||-------... flip-flop
?
2012-02-18 16:43:03 UTC
A FF is an active electronic circuit. It has two states: Q=1 and Qbar=0, or Q=0 and Qbar=1. The FF will only change state in response to an external stimulus. If there is no stimulus to change the state it will remain in the last state so long as power is applied to the circuit. A transistor FF is shown here:

http://en.wikipedia.org/wiki/Flip-flop_(electronics) One transistor is on and the other is off. If you analyze the circuit, you will understand how it works.
Mike1942f
2012-02-18 16:38:14 UTC
Flip flops require continuous power to hold their information. Like a latched relay that opens if the power goes off and does not recover when it comes back on, the flip-flop has a start up state unrelated to what it was set up before failure. Devices which hold information without battery backup during power off use other mechanisms and are not logic gates.
Steven
2012-02-18 16:28:58 UTC
A flip-flop is just one bit of information. It is a logic latch that stays where you put it, on or off. A megabyte of static RAM is 8 million flip-flips, and the means to address them. A FF is a simple State Machine.



http://en.wikipedia.org/wiki/Finite-state_machine

http://en.wikipedia.org/wiki/State_diagram


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...