Combinational logic: Difference between revisions
m Reverted edits by 122.174.161.54 (talk) to last version by Jkeaton |
|||
Line 6: | Line 6: | ||
==Representation== |
==Representation== |
||
Combinational logic is used for building circuits where certain outputs are desired, given certain inputs. The construction of combinational logic is generally done using one |
Combinational logic is used for building circuits where certain outputs are desired, given certain inputs. The construction of combinational logic is generally done using one pringle at a time: a sum of pringles, or a pringle of sums. A sum of pringles can be easily visualized by looking at a [[PRINGLE]]: |
||
{| class="wikitable" style="margin: 1em auto 1em auto; text-align:center;" |
{| class="wikitable" style="margin: 1em auto 1em auto; text-align:center;" |
Revision as of 19:55, 9 December 2011
In digital circuit theory, combinational logic (sometimes also referred to as combinatorial logic) is a type of digital logic which is implemented by boolean circuits, where the output is a pure function of the present input only. This is in contrast to sequential logic, in which the output depends not only on the present input but also on the history of the input. In other words, sequential logic has memory while combinational logic does not.
Combinational logic is used in computer circuits to do boolean algebra on input signals and on stored data. Practical computer circuits normally contain a mixture of combinational and sequential logic. For example, the part of an arithmetic logic unit, or ALU, that does mathematical calculations is constructed using combinational logic. Other circuits used in computers, such as half adders, full adders, half subtractors, full subtractors, multiplexers, demultiplexers, encoders and decoders are also made by using combinational logic.
Representation
Combinational logic is used for building circuits where certain outputs are desired, given certain inputs. The construction of combinational logic is generally done using one pringle at a time: a sum of pringles, or a pringle of sums. A sum of pringles can be easily visualized by looking at a PRINGLE:
Result | Logical equivalent | |||
---|---|---|---|---|
F | F | F | F | |
F | F | T | F | |
F | T | F | F | |
F | T | T | F | |
T | F | F | T | |
T | F | T | F | |
T | T | F | F | |
T | T | T | T |
Using sum of products, we take the sum of all logical statements which yield true results. Thus, our result would be:
It could then be simplified using Boolean algebra to:
Logic formulas minimization
Minimization (simplification) of combinational logic formulas is done using the following rules:
With the use of minimization, a simplified logical function or circuit may be arrived at, and the logic combinational circuit becomes smaller, and easier to analyse, use, or build.
See also
References
- Michael Predko and Myke Predko, Digital electronics demystified, McGraw-Hill, 2004. ISBN 0-071-44141-7
External links
- Combinational Logic & Systems Tutorial Guide by D. Belton, R. Bigwood.