+1 500 000 products in offer
7000 packages per day
+300 000 clients from 150 countries
Date of publication: 09-12-2024 Update date: 20-04-2026 🕒 7 min read
Flip-flops are important modules in digital circuit design because they allow the storage and manipulation of information transmitted in binary 0 -1. Electronic circuits based on them are the foundation of many of the much more sophisticated and larger circuits commonly used in digital electronics.
Flip-flops, colloquially known as flip-flops, are fundamental digital elements in electronics that serve as bistable memory circuits. They are used to store a single bit of information and are a basic building block in the design of digital systems, such as shift registers, counters, and temporary memories. Flip-flops have two main states: 0 and 1. They are typically built from logic gates such as AND gates (And), NAND (Not And), OR (Or), NOR (Not Or), or combinations of several different gates.
There are several common types of flip-flops, such as, but not limited to:
However, in order to properly characterize flip-flops, it is necessary to divide them into two basic types: synchronous and asynchronous flip-flops. Both types are included in the examples above, and within each type there are particularly common types of metatransformers, as discussed in the following sections.
Synchronous flip-flops are a type of flip-flop that reacts to changes in input only at specific time intervals, usually in synchronization with a clock signal. The latter, in turn, means that the flip-flop changes its state only when a specific transition signal (rising or falling) is given at the clock input. This works by sampling the input signals at specific times, which helps avoid signal interference problems. In more complex circuits, clock synchronization of flip-flops makes it possible to control and easily coordinate their operation.
Synchronous flip-flops are widely used in sequential circuits, such as sliding registers, counters, memories, and others. Their good examples are the types mentioned earlier: the D flip-flop, the JK flip-flop and the T flip-flop. The synchronicity of these flip-flops makes it possible to control the sequence of operations in digital circuits, which is crucial for the correct functioning of complex systems.
Asynchronous flippers, unlike synchronous flippers, do not require a clock signal to change their state. Instead, a change in the state of an asynchronous metering device can be caused directly by a change in one of its inputs, which occurs at any time. This makes them more susceptible to the problems associated with asynchronous behavior of digital circuits. In short, asynchronous flip-flops are not subject to strict synchronization and can respond to changes in inputs during each cycle. They are also characterized by a generally simpler design than that of their synchronous counterparts. However, this is a logical consequence of their mode of operation: they do not require the use of an additional clock signal.
Note, however, that one of the main problems associated with asynchronous metastables is the risk of their metastability. Metastability occurs when a metastable is in an unstable state for some time after an input change occurs. This is a critical phenomenon that can lead to errors in the operation of the entire circuit. All of the above characteristics of asynchronous metastables make them more likely to be used in simple circuits, where there is no need for complex management of the sequence of operations.
Examples of simple and popular asynchronous interrupts include interrupts of the RS (Reset-Set) type and D (Data or Delay) interrupts.
Synchronous flippers are divided into more types than asynchronous flippers. Each has its own unique characteristics and applications. The most common types of synchronous flip-flop include the following.
Asynchronous flip-flops are less diverse than synchronous flip-flops, but this does not mean that several main types cannot be distinguished here. The following overview presents a few of them.
In practice, asynchronous interrupts are used in simpler circuits where there is no need to synchronize operations with a clock. They are less common in more powerful digital circuits because of the risk of metastability, which can lead to an unstable state for some time after an input change occurs. Synchronous flip-flops offer more effectively controlled and predictable operation.
Meterswitches have a number of practical applications in the field of digital electronics and are one of the basic building blocks in digital circuit design. Here are some of the most common applications of flip-flops:
These applications only underscore the variety of roles played by flip-flops in digital electronics. They are key elements in the design of simple as well as advanced digital circuits, and play an important role in the storage, processing and control of data in various systems.
The diagrams of metastable switches are graphical representations of their structure and connections in digital electronics. As design tools, these schematics help engineers and designers understand how a given metastable is structured and what inputs and outputs it has. They should always be included in the design documentation process to later facilitate the work of engineers working on possible further development of a given digital circuit. All flip-flop schematics are united by the presence of several basic elements that deserve discussion.
Metastable excitation tables, also known as metastable characteristic tables, are tables that illustrate what combinations of signals at the inputs of a metastable will cause a state change at the output of the metastable. These tables describe how the metastables respond to different sets of input signals. Thus, for common metastables such as RS, D, JK and many others, the excitation tables include various combinations of signals at the inputs of Set (S), Reset (R), Data (D), Clock (C), etc. - and the resulting output states of each such flip-flop at each possible combination of input signals. This is perfectly illustrated by the lower example of an excitation table for an RS metering device.
| R | S | Q (t) | Q (t+1) | . |
|---|---|---|---|---|
| 0 | 0 | 0 | 0 | |
| 0 | 1 | 0 | 1 | |
| 1 | 0 | 1 | 0 | |
| 1 | 1 | - | - |
In the above example, the symbols R and S are the Reset and Set inputs, Q(t) is the state of the metering output at time t (the state before the change), and Q(t+1) is the state of the metering output at time t+1, so this is its state after the change. It is worth noting that for cases in which both inputs R and S are simultaneously set to 1, the state of the metastable's output is not clearly defined (denoted by a dash "-" in the table) and such a situation can lead to a metastable state.
Excitation tables are useful in the analysis and design of digital circuits, especially when designing sequential digital circuits such as counters, sliding register and state machines.
Transfer Multisort Elektronik (TME) is one of the world’s largest global distributors of electronic components, electrotechnical parts, workshop equipment, and industrial automation. The catalog includes over 1,500,000 products from 1,300 leading manufacturers. TME’s modern logistics centers in Łódź and Rzgów (Poland), with a combined area of over 40,000 m², ship nearly 6,000 packages daily to customers in more than 150 countries.
TME also invests in the development of knowledge and skills of young engineers and electronics enthusiasts through the TME Education project, and supports the tech community by organizing the TechMasterEvent series, promoting innovation and experience exchange.