# Sequential Circuits

## What are Sequential Circuits?

Sequential circuits are a type of logic circuit whose output value depends on the latest inputs as well as on conditional previous inputs. Thus, these are given the name sequential as a series of inputs decide the output.

Due to the involvement of previous inputs, memory elements are required. These memory elements are used to store data and generally one bit per element is stored in each element. Each snapshot of memory in which the data is stored is called state.

### Introduction to Sequential Circuits

There are various digital circuits such as a multiplexer, demultiplexers, encoders, decoders, etc. that are combinational in nature. The combinational circuits are the ones where the present output depends only on the present input and not on the previous input values.

For sequential circuits, it is said that the output value of the circuit depends on the various states. If one has considered an input combination then there can be various output values according to the previous states of the circuit.

From the word ‘sequential’ one can easily understand that there is the occurrence of something in sequence i.e., one after the other. Also, the presence of a clock signal in the circuit leads to provide the idea that when the applied input will get changed.

The sequential circuits, compulsorily hold memory whereas combinational circuits have no memory element. With the use of combinational and sequential circuits, one can build counters, registers, arithmetic logic units, and various elements of microprocessors.

## Components of Sequential Circuits

The figure below represents the arrangement of a sequential circuit consisting of the combinational circuit and feedback circuit: A feedback circuit acts as an interconnection between output and input. Through feedback, a part of the output is fed back to the input. Within the combinational circuit, there is a memory element, used to store the previous states of the system. Generally, flip flops are used as memory elements to store the data.

The presence of feedback sometimes introduces instability in the system.

For sequential circuits, in simplest terms, it can be said that these consider previous input state along with the one that is existing actually at present. Hence it is said that sequential circuits are equipped with both ‘before’ as well as ‘after’, effects.

Therefore, one can say that the obtained output state of the sequential logic circuit is a function of present input, past input along with past output. Basically, the circuits work on these conditions and remain in the current state till the time the clock signal changes the states thereby providing a memory.

In general, the sequential logic circuits hold two states thus are bistable devices where there is output or sets of outputs in one of the two basic states i.e., 0 and 1. It is to be noted here that the circuit remains in the current state until and unless another input trigger pulse is provided that will lead to changes in the bistable state of the circuit once again.

In order to construct bistable circuits, universal NAND or NOR gates can be arranged in a specific combination so as to give rise to sequential circuit.

### Classification of Sequential Circuit

Mainly sequential circuits are classified into two categories namely,

1. Asynchronous Sequential Circuit: The word asynchronous corresponds to the operation which does not involve clock pulse rather uses input pulses. The operation over here takes place in a way that as the clock is not involved therefore the change in the state takes place whenever there is a change in input pulse.

These types of circuits are mainly used in conditions when the speed with which the task is taking place holds crucial importance. However, their design is quite difficult, and sometimes an uncertain output is obtained.

2. Synchronous Sequential Circuit: The operation of these circuits involves clock signals along with inputs. The duration of the obtained output pulse, in this case, is equivalent to the clock pulse of the sequential circuit.

The speed with which the operation takes place over here is quite slow and the reason is that every time it is needed to wait for the next clock pulse for the next operation to take place. One should note here that the level of the output signal varies when the input pulse begins and remain in that till the next pulse is obtained or the clock signal arrives.

The sequential circuits design counters, registers, etc.