 Sequential logic

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 combinational logic, whose output is a function of, and only of, the present input. In other words, sequential logic has state (memory) while combinational 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 combinational 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. (The internal state only changes on a clock edge; the output thus only changes on a clock edge).
 Mealy machine: the output depends not only on the internal state, but also on the inputs.
Depending on regulations of functioning, digital circuits are divided into synchronous and asynchronous. In accordance with this, behavior of devices obeys synchronous or asynchronous logic.
Contents
Synchronous sequential logic
Nearly all sequential logic today is 'clocked' or 'synchronous' 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 flipflop.
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:
 The clock signal must be distributed to every flipflop in the circuit. As the clock is usually a highfrequency signal, this distribution consumes a relatively large amount of power and dissipates much heat. Even the flipflops that are doing nothing consume a small amount of power, thereby generating waste heat in the chip.
 The maximum possible clock rate is determined by the slowest logic path in the circuit, otherwise known as the critical path. This means that every logical calculation, from the simplest to the most complex, must complete in one clock cycle. One way around this limitation is to split complex operations into several simple operations, a technique known as 'pipelining'. This technique is prominent within microprocessor design, and helps to improve the performance of modern processors.
Asynchronous sequential logic
Asynchronous sequential logic expresses memorizing effect by fixing moments of time, when digital device changes its state. These moments are represented not in explicit form, but taking into account principle “before/after” in temporal relations of logical values.
For asynchronous logic it is sufficient to determine a sequence of switchings irrespective of any connections of the corresponding moments with real or virtual time.
Theoretical apparatus of sequential logic consists of mathematical instruments of sequention and venjunction as well as of logicalgebraic equations on their basis.
Sequention
Sequention (Latin: sequentia – sequence) is a sequence of propositional elements represented by the ordered set, for example , where . By means of sequention a binary function is realized so that takes place in the case , and under such conditions that for all . (Sign marks leading relation). Sequential function turns into unity at unity values of arguments, whose setting occurs consecutively, starting by and finishing with . All other cases give .
Venjunction
Venjunction is asymmetrical logic/dynamic operation , according to which logical connective takes a unity value in the case under such conditions that at the moment of setting equality already took place. True of venjunction is caused by switching on the background . Logical indetermination is expressed by means of venjunction: . Venjunction and minimal (twoelement) sequention are functionally identical:
 .
Realization
Venjunctor is a basic operational memory element of sequential logic. It is realized on the basis of equality , where formula
represents a function of SR flipflop. Sequentor is constructed on the basis of composition of venjunctors, which are connected in the definite way.
For example, formulae or are applicable for realizing sequention .
Clocked sequential system
In digital electronics, a clocked sequential system is a system whose output depends only on the current state, whose state changes only when a global clock signal changes, and whose nextstate depends only on the current state and the inputs.
Nearly all digital electronic devices (microprocessors, digital clocks, mobile phones, cordless telephones, electronic calculators, etc.) are designed as clocked sequential systems. Notable exceptions include digital asynchronous logic systems.
In particular, nearly all computers are designed as clocked sequential systems. Notable exceptions include analog computers and clockless CPUs.
Typically each bit of the "state" is contained in its own flipflop. Combinational logic decodes the state into the output signals. More combinational logic encodes the current state and the inputs into the nextstate signals. The nextstate signals are latched into the flipflops under the control of the global clock signal (a wire connected to every flipflop).
A clocked sequential system is a kind of Moore machine.
See also
 Synchronous circuit
 Asynchronous circuit
 Combinational logic
 Logic design
 Asynchronous logic (algebra)
 Applicationspecific integrated circuit
References
 Katz, R, and Boriello, G. Contemporary Logic Design. 2nd ed. Prentice Hall. 2005. ISBN 0201308576.
 Zvi Kohavi, Niraj K. Jha. Switching and Finite Automata Theory. 3rd ed. Cambridge University Press. 2009. ISBN 9780521857482
 V. O. Vasyukevich. (2009). Asynchronous logic elements. Venjunction and sequention — 118 p.
Categories:
Wikimedia Foundation. 2010.