Sequential_logic Sequential_logic

Sequential logic - Definition

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. In other words, sequential logic has storage (memory) while combinatorial logic does not.

Sequential logic is therefore used to construct some types of computer memory, other types of delay and storage elements, and finite state machines. Most practical computer circuits are a mixture of combinatorial and sequential logic.

There are two types of finite state machine that can be built from sequential logic circuits:

  • Moore machine: the output depends only on the internal state. (Since the internal state only changes on a clock edge, the output only changes on a clock edge).
  • Mealy machine: the output depends not only on the internal state, but also on the inputs.

Synchronous sequential logic

Nearly all sequential logic today is 'clocked' or 'synchronous logic' logic: there is a 'clock' signal, and all internal memory (the 'internal state') changes only on a clock edge. The basic storage element in sequential logic is the flip-flop.

The main advantage of synchronous logic is its simplicity. Every operation in the circuit must be completed inside a fixed interval of time between two clock pulses, called a 'clock cycle'. As long as this condition is met (ignoring certain other details), the circuit is guaranteed to be reliable.

Synchronous logic also has two main disadvantages, as follows.

  1. The clock signal must be distributed to every flip-flop in the circuit. As the clock is usually a high-frequency signal, this causes power dissipation - in other words, heat. Even the flip-flops that are doing nothing consume a small amount of power, thereby generating waste heat.
  2. The speed of the clock is governed by the slowest logic path in the circuit. This means that every logical calculation, from the simplest to the most complex, must complete in one clock cycle. The only way around this limitation is to split complex operations into several simpler operations, a technique called 'pipelining', but this makes the design much more difficult to understand.

Asynchronous sequential logic

Asynchronous sequential logic is the most general kind of sequential logic, but because of its flexibility it is also the most difficult kind to design. The basic storage element in asynchronous logic is the latch. Latches can change state at any time, depending on the transitions of other signals which may themselves be produced by other latches. The complexity of asynchronous circuits tends to rise very rapidly as the number of logic gates increases, so they tend to be used mostly in smaller applications. However, computer-aided design tools are appearing that can simplify the task, and permit more complex designs.

It is possible to build mixed circuits containing synchronous flip-flops and asynchronous latches.

Sequential - Example Usage

Kyongmhz: AVE 12PSWT 111009 12 Position Sequential, Homing, Bypassing, 3ch, Alarm Switcher: 111009 12 Position Sequential,... http://t.co/TVM1DSkl
jon_kensington: Crucial M4 128 GB SSD back in stock on Amazon for $124.99! Up to 500 MB/s sequential writes! http://t.co/6GV2yuqV
ivumafabuh: Solitaire - Sequential Puzzle: The goal of this classic Marble Solitaire strategy game is to remove as many marb... http://t.co/9R9thVIO
fans_ahawks: SCAD Sequential Art Professor Illustrates the Atlanta Hawks http://t.co/Y3sYmjdY
AliZephyra: If all goes right tomorrow... - My fall schedule should be as follows: Survey of Sequential Art w/ Duncan 8... http://t.co/kCHmb9PS
Copyright 2010 WordIQ.com - Privacy Policy  :: Terms of Use  :: Contact Us  :: About Us
This article is licensed under the GNU Free Documentation License. It uses material from the this Wikipedia article.