A Digital logic (or Switching) circuit has voltage levels to be switched from one value to another but has a finite number of distinct values (generally 0 for false and 1 for true). These circuits operate a definite set of logic rules so it is also known as Logic circuits. These are basic circuits which are used in mobile phones, calculators, computers, etc.
Types of Logic Circuits:
There are two types of Digital circuits depends on their output and memory used:
(i) Combinational circuit, and (ii) Sequential circuit
A combinational circuit consists of logic gates whose outputs at any time are determined from only the present combination of inputs and they have no memory. A sequential circuit consists of logic gates whose outputs at any time are determined from both the present combination of inputs and previous output. That means sequential circuits use memory elements to store the value of previous output.
1. Combinational Circuits:
These circuits developed using AND, OR, NOT, NAND and NOR logic gates. These logic gates are building blocks of combinational circuits. A combinational circuit consists of input variables and output variables. Since these circuits are not dependent upon previous input to generate any output, so are combinational logic circuits. A combinational circuit can have an n number of inputs and m number of outputs. In combinational circuits, the output at any time is a direct function of the applied external inputs.
2. Sequential circuits:
A sequential circuit is specified by a time sequence of inputs, outputs, and internal states. The output of a sequential circuit depends not only the combination of present inputs but also on the previous outputs. Unlike combinational circuits, sequential circuits include memory elements with combinational circuits.
- The memory elements are circuits capable of storing binary information.
- The binary information stored in these memory elements at any given time defines the state of the sequential circuit at that time.
- The external output of a sequential circuit depends both on the present input and previous output state.
- The next state of the memory elements also depends on the external input and present state of external output.
- Some sequential circuits may not contain combinational circuits, but only memory elements.
Generally, there are two types of storage elements used: Latches, and Flip-Flops. Storage elements that operate with signal levels (rather than signal transitions) are referred to as latches ; those controlled by a clock transition are flip-flops.
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.
- Analysis and Design of Combinational and Sequential circuits
- Difference between Characteristics of Combinational and Sequential circuits
- Classifications of Combinational and Sequential circuits
- Combinational circuits using Decoder
- Construction of Combinational Circuits
- Difference between combinational and sequential circuit
- Difference between Synchronous and Asynchronous Sequential Circuits
- Synchronous Sequential Circuits in Digital Logic
- Introduction of Sequential Circuits
- Asynchronous Sequential Circuits
- Mathematics | Walks, Trails, Paths, Cycles and Circuits in Graph
- Switch Debounce in Digital Circuits
- RTL (Register Transfer Level) design vs Sequential logic design
- Difference between Stop and Wait, GoBackN and Selective Repeat
- Difference between Stop and Wait protocol and Sliding Window protocol
- Stop and Wait protocol, its problems and solutions
- Sum and product of K smallest and largest Fibonacci numbers in the array
- Generate an array of given size with equal count and sum of odd and even numbers
- Similarities and Difference between Java and C++
- VHDL code for AND and OR Logic Gates
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.