RS-type NAND Flip Flop
A basic logical device for information storage is the flip-flop (abbr. FF). A flip-flop can stay in one of two logic states. To change this stage it needs a new input signal. Thus a flip-flop is a one bit memory. A flip-flop containing a 1 is said to be set, if it contains a 0 it is reset. There exist three basic types of flip-flops:
* Memory flip-flops have special inputs to be set or reset. The flip-flop preserves its state as long as there is no new input signal.
* Delay flip-flops output the state their input had one cycle ago. If the input signal changes at step n the output changes at step n+1.
* Toggle flip-flop or"T" flip-flop changes its output on each clock cycle, if the input given to T is high. If the input of T is low the, the output does not change that means the output is preserved.
A simple memory flip-flop is the RS flip-flop (sometimes also called SR flip-flop). The device has two inputs: S for setting and R for resetting the flip-flop (hence its name). The RS flip-flop preserves its states as long as the inputs are 0. If it receives a set signal, it turns to 1, regardless of its former state. The reset signal enforces the 0-state.
Figure 1.1 an RS-type Flip Flop circuit comprising two cross-coupled NAND gates -- note the inverted inputs.
The most important consideration is that both inputs of the RS-type NAND Flip Flop should normally be at logic 1 -- this is in direct contrast with the RS-type NOR Flip Flop, where the inputs needed to be normally at logic 0. Because of this, the inputs are considered to be inverted in the circuit, shown as such in Figure...