Information about Latch (electronics)
In electronics, a latch, is a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby can store one bit of information. Today the word is mainly used for simple transparent storage elements, while slightly more advanced non-transparent (or clocked) devices are described as flip-flops. Informally, as this distinction is quite new, the two words are sometimes used interchangeably.
A circuit incorporating latches has state; its output may depend not only on its current input, but also on its previous inputs. Such a circuit is described as sequential logic.
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 (Set) is pulsed high while R is held low, then the Q output is forced high, and stays high when S returns low; similarly, if R (Reset) is pulsed high while S is held low, then the Q output is forced low, and stays low when R returns low.
The R = S = 1 combination is called a restricted combination because, as both NOR gates then output zeros, it breaks the logical equation Q = not Q. The combination is also inappropriate in circuits where both inputs may go low simultaneously (i.e. a transition from restricted to keep). The output would lock at either 1 or 0 depending on the propagation time relations between the gates (a race condition). In certain implementations, it could also lead to longer ringings (damped oscillations) before the output settles, and thereby result in undetermined values (errors) in high-frequency digital circuits. This condition is therefore sometimes avoided.
To overcome the restricted combination, one can add gates to the inputs that would convert (S,R) = (1,1) to one of non-restricted combinations. That can be:
This is a variety of the simple SR latch built with NAND (negative AND) logic gates. Set and reset now become active low signals, denoted S and R respectively. Otherwise, operation is identical to that of the SR latch. Historically, SR-latches have been predominant despite the notational inconvenience of active-low inputs. This is because NAND gates are cheaper to produce than NOR gates in the diode-transistor logic (DTL) and transistor-transistor logic (TTL) families, which were the basis of early integrated circuits before the complementary metal–oxide semiconductor (CMOS) family attained wide-spread use. Since the 1970's and still as of 2007, most integrated circuits are built using CMOS technology, where the opposite is true.
A Synchronous SR latch (sometimes clocked SR flip-flop) can be made by adding a second level of NAND gates to the inverted SR latch (or a second level of NOR gates to the direct SR latch). The extra gates further invert the inputs so the simple SR latch becomes a gated SR latch (and a simple SR latch would transform into a gated SR latch with inverted enable).
With E high (enable true), the signals can pass through the input gates to the encapsulated latch; all signal combinations except for (0,0) = hold then immediately reproduce on the (Q,Q) output, i.e. the latch is transparent.*
With E low (enable false) the latch is closed and remains in the state it was left the last time E was high.
The enable input is sometimes a clock signal, but more often a read or write strobe.
* Note that, with several transparent latches following each other, the signal would propagate through all of them.
Transparent latches are typically used as I/O ports or in asynchronous systems.* They are available as integrated circuits, usually with multiple latches per circuit. For example, 74HC75 is a quadruple transparent latch in the ubiquitous 7400 series.
The truth table shows that when the enable/clock input is 0, the D input has no effect on the output. When E/C is high, the output equals D.
* Transparent latches are also sometimes used in synchronous two-phase systems (for reduced transistor count); however, in single-phase synchronous systems with direct feedback, master-slave devices (often edge-triggered) must be used to avoid analog oscillations.
The JK latch follows the following state table:
..... Click the link for more information.
..... Click the link for more information.
..... Click the link for more information.
A circuit incorporating latches has state; its output may depend not only on its current input, but also on its previous inputs. Such a circuit is described as sequential logic.
Simple set-reset latches
SR latch
The most fundamental latch is the simple SR latch (or simple SR flip-flop), where S and R stand for set and reset. It can be constructed from a pair of cross-coupled NOR (negative OR) 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 (Set) is pulsed high while R is held low, then the Q output is forced high, and stays high when S returns low; similarly, if R (Reset) is pulsed high while S is held low, then the Q output is forced low, and stays low when R returns low.
| |||||||||||||||||||||
The R = S = 1 combination is called a restricted combination because, as both NOR gates then output zeros, it breaks the logical equation Q = not Q. The combination is also inappropriate in circuits where both inputs may go low simultaneously (i.e. a transition from restricted to keep). The output would lock at either 1 or 0 depending on the propagation time relations between the gates (a race condition). In certain implementations, it could also lead to longer ringings (damped oscillations) before the output settles, and thereby result in undetermined values (errors) in high-frequency digital circuits. This condition is therefore sometimes avoided.
To overcome the restricted combination, one can add gates to the inputs that would convert (S,R) = (1,1) to one of non-restricted combinations. That can be:
- Q = 1 (1,0) — referred to as an S-latch
- Q = 0 (0,1) — referred to as an R-latch
- Keep state (0,0) — referred to as an E-latch
SR NAND latch
This is a variety of the simple SR latch built with NAND (negative AND) logic gates. Set and reset now become active low signals, denoted S and R respectively. Otherwise, operation is identical to that of the SR latch. Historically, SR-latches have been predominant despite the notational inconvenience of active-low inputs. This is because NAND gates are cheaper to produce than NOR gates in the diode-transistor logic (DTL) and transistor-transistor logic (TTL) families, which were the basis of early integrated circuits before the complementary metal–oxide semiconductor (CMOS) family attained wide-spread use. Since the 1970's and still as of 2007, most integrated circuits are built using CMOS technology, where the opposite is true.
|
![]() | ||||||||||||||||||||||
Gated latches
Gated SR latch
A Synchronous SR latch (sometimes clocked SR flip-flop) can be made by adding a second level of NAND gates to the inverted SR latch (or a second level of NOR gates to the direct SR latch). The extra gates further invert the inputs so the simple SR latch becomes a gated SR latch (and a simple SR latch would transform into a gated SR latch with inverted enable).
With E high (enable true), the signals can pass through the input gates to the encapsulated latch; all signal combinations except for (0,0) = hold then immediately reproduce on the (Q,Q) output, i.e. the latch is transparent.*
With E low (enable false) the latch is closed and remains in the state it was left the last time E was high.
The enable input is sometimes a clock signal, but more often a read or write strobe.
| ![]() | ||||||||||||
D-latch
> This latch is closely related to the gated SR latch and can be similarly constructed. It is also known as transparent latch, data latch, or simply gated latch. It has a data input and an enable signal (sometimes named clock, or control). The word transparent comes from the fact that, when the enable input is on, the signal would propagate directly through the circuit, from the input D to the output Q.Transparent latches are typically used as I/O ports or in asynchronous systems.* They are available as integrated circuits, usually with multiple latches per circuit. For example, 74HC75 is a quadruple transparent latch in the ubiquitous 7400 series.
|
![]() | |||||||||||||||||||||
* Transparent latches are also sometimes used in synchronous two-phase systems (for reduced transistor count); however, in single-phase synchronous systems with direct feedback, master-slave devices (often edge-triggered) must be used to avoid analog oscillations.
JK latch
| [] |
The JK latch follows the following state table:
| JK Flip-Flop truth table | ||||
| J | K | Qnext | Comment | |
| 0 | 0 | Qprev | No change | |
| 0 | 1 | 0 | Reset | |
| 1 | 0 | 1 | Set | |
| 1 | 1 | Qprev | Toggle | |
See also
- Flip-flop
- Logic gate
References
- Hwang, Enoch (2006). Digital Logic and Microprocessor Design with VHDL. Thomson. ISBN 0-534-46593-5.
- Fundamentals of Digital Logic by Brown and Vranesic
- S.P.Vingron: `Switching Theory. Insight through Predicate Logic.' Springer Verlag, 2003. ISBN 3-540-40343-4 — extensively covers the theory of latches
- Parallel Port Output expanding with Latches
Electronics is the study of the flow of charge through various materials and devices such as, semiconductors, resistors, inductors, capacitors, nano-structures, and vacuum tubes. All applications of electronics involve the transmission of power and possibly information.
..... Click the link for more information.
..... Click the link for more information.
bistable can be resting in two states. In physics, for an ensemble of particles, the bistability comes from the fact that its free energy has three critical points. Two of them are minima and the last is a maximum.
..... Click the link for more information.
..... Click the link for more information.
A multivibrator is an electronic circuit used to implement a variety of simple two-state systems such as oscillators, timers and flip-flops. It is characterized by two amplifying devices (transistors, electron tubes or other devices) cross-coupled by resistors and capacitors.
..... Click the link for more information.
..... Click the link for more information.
An electronic circuit is an electrical circuit that also contains active electronic devices such as transistors or vacuum tubes. They can display highly complex behaviors, even though they are governed by the same laws as simple electrical circuits.
..... Click the link for more information.
..... Click the link for more information.
BIT is an acronym for:
..... Click the link for more information.
- Bannari amman Institute of Technology
- Bangalore Institute of Technology
- Beijing Institute of Technology
- Benzisothiazolinone
- Bilateral Investment Treaty
- Bhilai Institute of Technology - Durg
..... Click the link for more information.
flip-flop, is a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. Today, the term flip-flop has come to generally denote non-transparent (clocked or
..... Click the link for more information.
..... Click the link for more information.
In digital circuit theory, sequential logic is a type of logic circuit whose output depends not only on the present input but also on the history of the input. This is in contrast to combinatorial logic, whose output is a function of, and only of, the present input.
..... Click the link for more information.
..... Click the link for more information.
flip-flop, is a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. Today, the term flip-flop has come to generally denote non-transparent (clocked or
..... Click the link for more information.
..... Click the link for more information.
This article is about NOR in the sense of an electronic logic gate (e.g. CMOS 4001). For NOR in the purely logical sense, see Logical NOR, for other uses of similar terms, see Nor.
..... Click the link for more information.
OR gate is a digital logic gate that implements logical disjunction - it behaves according to the truth table to the right. A HIGH output (1) results if one or both the inputs to the gate are HIGH (1). If neither input is HIGH, a LOW output (0) results.
..... Click the link for more information.
..... Click the link for more information.
A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits.
..... Click the link for more information.
..... Click the link for more information.
This article or section is in need of attention from an expert on the subject.
Please help recruit one or [ improve this article] yourself. See the talk page for details.
..... Click the link for more information.
Please help recruit one or [ improve this article] yourself. See the talk page for details.
..... Click the link for more information.
A race condition or race hazard is a flaw in a system or process whereby the output of the process is unexpectedly and critically dependent on the sequence or timing of other events.
..... Click the link for more information.
..... Click the link for more information.
Electricity
In electrical circuits, ringing is an unwanted oscillation of a voltage or current, also called microphony. It happens when an electrical pulse causes the parasitic capacitances and inductances in the circuit (i.e...... Click the link for more information.
- ''For other uses, see oscillator (disambiguation)
..... Click the link for more information.
The AND gate is a digital logic gate that implements logical conjunction - it behaves according to the truth table to the right. A HIGH output (1) results only if both the inputs to the AND gate are HIGH (1).
..... Click the link for more information.
..... Click the link for more information.
A logic gate performs a logical operation on one or more logic inputs and produces a single logic output. The logic normally performed is Boolean logic and is most commonly found in digital circuits.
..... Click the link for more information.
..... Click the link for more information.
Active-low signals are used in electronic logic circuits to represent binary values by means of two different voltages. The higher voltage represents a binary 0 or "space", and the lower voltage represents a binary 1 or "mark".
..... Click the link for more information.
..... Click the link for more information.
integrated circuit (also known as IC, microcircuit, microchip, silicon chip, or chip) is a miniaturized electronic circuit (consisting mainly of semiconductor devices, as well as passive components) that has been manufactured in the surface of a
..... Click the link for more information.
..... Click the link for more information.
20th century - 21st century - 22nd century
1970s 1980s 1990s - 2000s - 2010s 2020s 2030s
2004 2005 2006 - 2007 - 2008 2009 2010
2007 by topic:
News by month
Jan - Feb - Mar - Apr - May - Jun
..... Click the link for more information.
1970s 1980s 1990s - 2000s - 2010s 2020s 2030s
2004 2005 2006 - 2007 - 2008 2009 2010
2007 by topic:
News by month
Jan - Feb - Mar - Apr - May - Jun
..... Click the link for more information.
Complementary metal–oxide–semiconductor (CMOS) ("see-moss", IPA: /ˈsiːmɒs/), is a major class of integrated circuits.
..... Click the link for more information.
..... Click the link for more information.
clock signal is a signal used to coordinate the actions of two or more circuits. A clock signal oscillates between a high and a low state, normally with a 50% duty cycle, and is usually in the form of a square wave.
..... Click the link for more information.
..... Click the link for more information.
strobe light or stroboscopic lamp, commonly called a strobe, is a device used to produce regular flashes of light. It is one of a number of devices that can be used as a stroboscope.
..... Click the link for more information.
..... Click the link for more information.
integrated circuit (also known as IC, microcircuit, microchip, silicon chip, or chip) is a miniaturized electronic circuit (consisting mainly of semiconductor devices, as well as passive components) that has been manufactured in the surface of a
..... Click the link for more information.
..... Click the link for more information.
7400 series of TTL integrated circuits are historically important as the first widespread family of IC logic. It was used to build the mini and mainframe computers of the sixties and seventies.
..... Click the link for more information.
..... Click the link for more information.
flip-flop, is a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. Today, the term flip-flop has come to generally denote non-transparent (clocked or
..... Click the link for more information.
..... Click the link for more information.
flip-flop, is a kind of bistable multivibrator, an electronic circuit which has two stable states and thereby is capable of serving as one bit of memory. Today, the term flip-flop has come to generally denote non-transparent (clocked or
..... Click the link for more information.
..... Click the link for more information.
This article is copied from an article on Wikipedia.org - the free encyclopedia created and edited by online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of the wikipedia encyclopedia articles provide accurate and timely information please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.
Herod_Archelaus



