FlipFlops or Registers - In Simple
Transcript of FlipFlops or Registers - In Simple
![Page 1: FlipFlops or Registers - In Simple](https://reader036.fdocuments.in/reader036/viewer/2022081805/577cc9bf1a28aba711a4824e/html5/thumbnails/1.jpg)
Digital Electronics/Register
Contents
1 Register2 Register Types
2.1 SR Register2.2 D Register2.3 T flip-flops2.4 JK Register
3 Reference
Register
WAYS OF DEFINING A REGISTER; Registers are data storage devices that aremore sophisticated than latches. A register is a group of binary cells suitable forholding binary information. A group of cascaded flip flops used to store related bitsof information is known as a register.
Register Types
SR Register
In some situations it may be desirable to dictate when the latch can and cannot latch.The gated SR latch is a simple extension of the SR latch which provides an Enableline which must be driven high before data can be latched. Even though a control lineis now required, the SR latch is not synchronous, because the inputs can change theoutput even in the middle of an enable pulse.
When the Enable input is low, then the outputs from the AND gates must also be low,thus the Q and Q outputs remain latched to the previous data. Only when the enableinput is high can the state of the latch change, as shown in the truth table. When theenable line is asserted, a gated SR latch is identical in operation to an SR latch.
The Enable line is sometimes a clock signal, but is usually a read or write strobe.
![Page 2: FlipFlops or Registers - In Simple](https://reader036.fdocuments.in/reader036/viewer/2022081805/577cc9bf1a28aba711a4824e/html5/thumbnails/2.jpg)
Enable S R Q Q
0 0 0 Latch
0 0 1 Latch
0 1 0 Latch
0 1 1 Latch
1 0 0 Latch
1 0 1 0 1
1 1 0 1 0
1 1 1 Metastable
D Register
The D latch (D for "data") or transparent latch is a simple extension of the gatedSR latch that removes the possibility of invalid input states.
Since the gated SR latch allows us to latch the output without using the S or R inputs,we can remove one of the inputs by driving both the Set and Reset inputs with acomplementary driver: we remove one input and automatically make it the inverse ofthe remaining input.
The D latch outputs the D input whenever the Enable line is high, otherwise theoutput is whatever the D input was when the Enable input was last high. This is whyit is also known as a transparent latch - when Enable is asserted, the latch is said tobe "transparent" - it signals propagate directly through it as if it isn't there.
![Page 3: FlipFlops or Registers - In Simple](https://reader036.fdocuments.in/reader036/viewer/2022081805/577cc9bf1a28aba711a4824e/html5/thumbnails/3.jpg)
Enable D Q Q
0 0 Latch
0 1 Latch
1 0 0 1
1 1 1 0
D latches are often used in I/O ports of integrated circuits and are available asdiscrete devices, often multiply packaged. An example is the 74HC75, part of the7400 series of ICs, containing four separate D latches.
T flip-flops
A T flip-flop is a device which swaps or "toggles" state every time it is triggered ifthe T input is asserted, otherwise it holds the current output. This behavior isdescribed by the characteristic equation:
and can be described either of the following tables:
![Page 4: FlipFlops or Registers - In Simple](https://reader036.fdocuments.in/reader036/viewer/2022081805/577cc9bf1a28aba711a4824e/html5/thumbnails/4.jpg)
Characteristic table
T Q Qnext Comment
0 0 0Hold state
0 1 1
1 0 1Toggle
1 1 0
Excitation table
Q Qnext T
0 0 0
0 1 1
1 0 1
1 1 0
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 be2 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 connectedtogether and act as T) or D flip-flop (T input and Qprev are connected to the D input
through an XOR gate).
JK Register
The JK flip-flop is a simple enhancement of the SR flip-flop where the state J=K=1is not forbidden. It works just like a SR FF where J is serving as set input and Kserving as reset. The only difference is that for the formerly “forbidden” combinationJ=K=1 this flip-flop now performs an action: it inverts its state. As the behavior ofthe JK flip-flop is completely predictable under all conditions, this is the preferredtype of flip-flop for most logic circuit designs. But there is still a problem i.e. boththe outputs are same when one tests the circuit practically. This is because of theinternal toggling on every propagation elapse completion. The main remeady is goingfor master-slave jk flip-flop,this ff overrides the self(internal) recurring togglingthrough the pulsed clocking feature incorporated.
![Page 5: FlipFlops or Registers - In Simple](https://reader036.fdocuments.in/reader036/viewer/2022081805/577cc9bf1a28aba711a4824e/html5/thumbnails/5.jpg)
Characteristic table
J K Qnext Comment
0 0 Qprev Hold state
0 1 0 Reset
1 0 1 Set
1 1 Qprev Toggle
Excitation table
Q Qnext J K Comment
0 0 0 X Hold state
0 1 1 X Set
1 0 X 1 Reset
1 1 X 0 Hold state
Reference
Register (http://en.wikibooks.org/wiki/Electronics/Flip_Flops)
Retrieved from "http://en.wikibooks.org/w/index.php?title=Digital_Electronics/Register&oldid=2601256"
This page was last modified on 17 January 2014, at 08:13.Text is available under the Creative Commons Attribution/Share-Alike License;additional terms may apply. By using this site, you agree to the Terms of Useand Privacy Policy.