Spiegato, Home

Technology and Gadgets

What Is Sequential Logic?

  • Published by Spiegato
  • 2 min read

Sequential logic (SL) in digital circuit theory is the set of rules and implementations of circuits that rely on the current and past events of logic states and transitions to determine present logic states. Knowing about combinational logic (CL), the set of rules and implementation of circuits that rely on the actual logic levels, reveals the key points in sequential logic. Logic levels for binary computing usually refer to high or low. In positive logic, 1 is high and 0 is low. Logic circuits are made up of gates that may have one or more inputs and usually only one output.

A simple CL gate is known as the buffer and the inverter or NOT gate. The buffer output is always the same as the input, but the inverter output is always not the input. Other gates used in CL include the AND gate, NAND gate, and NOR gate. The AND gate outputs a 1 only if both inputs are 1. The NAND gate and NOR gate are, respectively, an AND gate and an OR gate, each with an inverter at the output.

Sequential logic uses latches that lock the output levels based on previous output levels and current input levels. Latches are usually built using two partner gates, which are either two NAND or NOR gates. The gates of these latches, or flip-flops, are locked into one of two states by the gate outputs that are fed back to the input of the partner gate. By changing the levels on the free inputs of the gates, a reversal of logic level is achieved. Sequential logic analysis involves both observing the initial output levels and observing the change in output levels based on the change in input levels.

In binary counters, there is edge detection circuitry in the clock input for each binary digit (bit) latch. Counters usually use a positive-edge detect for normal count-up. For instance, an 8-bit counter uses 8-bit latches.
Sequential logic makes use of cascaded bit latches to produce an asynchronous (async) digital counter. When a bit from the less-significant-bit (LSB) latch is made to clock the more significant bit (MSB), it is known as an async counter. In async, latches clock each other at slightly different times, while synchronous (sync) logic clocks all latches simultaneously. The async counter will suffer a maximum total ripple delay equal to one latch ripple delay multiplied by the number of bits in the counter. In sync logic, the bit latches in a digital counter are clocked simultaneously, thus the total ripple delay is equal to one latch ripple delay for any number of bits in the counter.

Key terms in this article

Related articles

  • What is Presentation Logic?

    Most software development is broken into three general areas. These are the presentation, database, and business logic. Presentation logic is the software…

  • What is Sequential Access?

    Sequential access is a system by which stored data is accessed in a fixed order. One example of this is an audio or video cassette. The most common use of…

  • What Are Combinational Logic Circuits?

    Combinational logic circuits are electronic circuits that produce outputs based on the states of the inputs. Unlike in sequential logic circuits, the…

  • What Is Ladder Logic Programming?

    Ladder logic programming is a coding language used to create circuit representations to help people build devices and to give instructions to controllers…

  • What Is Diode-Transistor Logic?

    Diode-transistor logic refers to a specific class of circuit used in modern digital electronics to process electrical signals. The construction of these…