biology daily - the biology and biochemistry encyclopedia
biology daily articles and research Encyclopedia Dictionary Forums biology research links Weblinks Pictures Articles Blogs Newsletter

Latch

The latch is a electronic circuit used to store information in asynchronous sequential logic systems. One latch can store one bit of information. Latches often occur in multiples, some of which have special names, such as the 'quad latch' (which can store four bits) and the 'octal latch' (eight bits).

SR latch

The simplest latch is the SR latch, where S and R stand for 'set' and 'reset'. The latch is constructed from a pair of cross-coupled NAND (negative AND) logic gates. The stored bit is present on the output marked Q.

Normally, in storage mode, the \bar S and \bar R inputs are both high, and feedback maintains the Q and \bar Q outputs in a constant state, with \bar Q the complement of Q. If \bar S (set) is pulsed low while \bar R is held high, then the Q output is forced high, and stays high when \bar S returns high. On the other hand, if \bar R (reset) is pulsed low while \bar S is held high, then the Q output is forced low, and stays low when \bar R returns high. The output of the latch cannot be predicted if \bar S and \bar R are brought low at the same time, so this condition must be avoided.

See also



07-14-2008 23:18:10
The contents of this article are licensed from Wikipedia.org under the GNU Free Documentation License. How to see transparent copy
BiologyDaily.com 2005. Legal info   Privacy