+1 500 000 products in offer

7000 packages per day

+300 000 clients from 150 countries

Quick Buy Favourites
Cart

Synchronous and asynchronous flippers

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.

What are flip-flops in 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:

  1. RS (Reset-Set): has two inputs \n-reset (R) and set (S). Allows you to set the output state to 0 or 1.
  2. D (Data or Delay): accepts data at input (D) and changes its state based on this signal when a certain clock signal occurs.
  3. JK: has three inputs J (set), K (reset), and clock (C). It provides more flexibility compared to RS Flip-flop.
  4. T (Toggle): has one input - T. After each clock signal, it changes its state, acting like a JK flip-flop with J and K inputs connected.

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 - a brief overview

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 flip-flops - a brief overview

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.

Different types of synchronous metering - a brief overview

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.

  1. D Flip-Flop: This is the simplest synchronous flip-flop, which responds to changes at the D input at the rising or falling edge of the clock signal, meaning only at specific moments.
  2. JK Flip-Flop: This type has three inputs - J (set), K (reset), and C (clock). The output state changes based on the signals at the J, K inputs and the clock signal. The JK flip-flop is more flexible than the D flip-flop as it allows the implementation of various logical functions.
  3. T Flip-Flop: This is a type of JK flip-flop where the J and K inputs are connected together. This type of flip-flop responds to changes at the T input only at specific moments, in synchronization with the clock signal.
  4. SR Flip-Flop (Set-Reset): It has two inputs - S (set) and R (reset), as well as a clock input. Its output state changes depending on the signals at these inputs and the clock signal.
  5. MS Flip-Flop (Master-Slave): This type of synchronous flip-flop essentially consists of two simple D flip-flops. It operates such that output changes occur only when the input signal transitions from high to low (falling edge), synchronized with the clock signal.
  6. ET Flip-Flop (Edge-Trigger): This type is essentially an entire category that includes flip-flops responding to changes in input signals only at specific moments, typically at certain edges (rising or falling) of the signal.

Different types of asynchronous metering - a brief overview

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.

  1. Asynchronous RS flipper: it has two inputs (Reset and Set), and its output state changes immediately depending on the signals at these inputs.
  2. Asynchronous Relay D: it responds to changes in the D input immediately, without the need for a clock signal.
  3. JK asynchronous flipper: works similarly to the JK synchronous flipper, but without the need for a clock signal. This is a less common type of metering device.

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.

Practical application of flip-flops

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:

  1. Register memory and buffers: Flip-flops are used in register memory to store temporary data during data processing operations. Buffers based on flip-flops can help manage and synchronize data between different parts of the circuit.
  2. Counters: Flip-flops are used to build counters, which are used to count clock pulses. Such counters have applications in many fields, including communication electronics, motion control, and signal generation circuits.
  3. Static memory: Flip-flops are key components in the construction of static memory (SRAM), which is used as a fast and direct operating memory in many microprocessor and microcontroller systems.
  4. Flip-flops for shift registers: Flip-flops are also components of shift registers, which allow data bits to be shifted within a digital system.
  5. State controllers: Flip-flops can be used to design state controllers in digital control systems. Such controllers are used to represent different states of the system and transitions between them.
  6. Dynamic memory: In the construction of dynamic memory (DRAM), flip-flops are used to store information.
  7. Code conversion: Flip-flops can be used in code conversion, such as in Gray code converters (also known as reflective code), where changes in a single bit are easier to track.
  8. Clock signal generators: Flip-flops are utilized in the construction of clock signal generators, which are essential for synchronizing many operations in digital systems.

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.

Schemes of flip-flops - what is it?

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.

  • Symbols for inputs and outputs: each input and output of a flip-flop is marked with corresponding symbols. For example, the set and reset inputs are usually denoted by the symbols J and K, and the output as Q.
  • Connection lines: these connect symbols, representing the connections between the various elements (logic gates) that make up a flip-flop.
  • Logic gates: if the flip-flop is more complex in its structure and is built with several logic gates, then the diagram includes the symbols of these gates, such as NAND gates, NOR gates, XOR gates, etc., among others.
  • Additional inputs: in the case of clocked, i.e. synchronous, flip-flops, the schematic includes a clock symbol (denoted by code C or CLK), which indicates where the clock signal that synchronizes the operation of the circuit is connected.
  • Other additional elements: depending on the design of a given flip-flop, the diagram may include additional components, such as transistors, resistors, or capacitors, which are essential for its proper operation.

About the excitation arrays of flip-flops

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.