#jsDisabledContent { display:none; } My Account | Register | Help

# Combinational logic

Article Id: WHEBN0000089371
Reproduction Date:

 Title: Combinational logic Author: World Heritage Encyclopedia Language: English Subject: Collection: Publisher: World Heritage Encyclopedia Publication Date:

### Combinational logic

In digital circuit theory, combinational logic (sometimes also referred to as time-independent logic[1] ) 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 perform 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.

An alternate term is combinatorial logic,[2] though this usage may be considered controversial.[3]

## Contents

• Representation 1
• Logic formula minimization 2
• References 4

## Representation

Combinational logic is used to build circuits that produce specified outputs from certain inputs. The construction of combinational logic is generally done using one of two methods: a sum of products, or a product of sums. A sum of products can be visualized in a truth table, as in this example:

A B C Result Logical equivalent
F F F F \neg A \cdot \neg B \cdot \neg C
F F T F \neg A \cdot \neg B \cdot C
F T F F \neg A \cdot B \cdot \neg C
F T T F \neg A \cdot B \cdot C
T F F T A \cdot \neg B \cdot \neg C
T F T F A \cdot \neg B \cdot C
T T F F A \cdot B \cdot \neg C
T T T T A \cdot B \cdot C

Using sum of products, all logical statements which yield true results are summed, giving the result:

A \cdot \neg B \cdot \neg C + A \cdot B \cdot C \,

Using Boolean algebra, the result simplifies to the following equivalent of the truth table:

A \cdot (\neg B \cdot \neg C + B \cdot C) \,

## Logic formula minimization

Minimization (simplification) of combinational logic formulas is done using the following rules:

(A + B) \cdot (A + C) = A + (B \cdot C)
\quad (A \cdot B) + (A \cdot C) = A \cdot (B + C)
A + (A \cdot B) = A
\quad A \cdot (A + B) = A
A + (\lnot A \cdot B) = A + B
\quad A \cdot(\lnot A + B) = A \cdot B
(A + B)\cdot(\lnot A + B)=B
\quad (A \cdot B) + (\lnot A \cdot B)=B
(A \cdot B) + (\lnot A \cdot C) + (B \cdot C) = (A \cdot B) + (\lnot A \cdot C)
(A + B) \cdot (\lnot A + C) \cdot (B + C) = (A + B) \cdot (\lnot A + C)

With the use of minimization (sometimes called logic optimization), a simplified logical function or circuit may be arrived upon, and the logic combinational circuit becomes smaller, and easier to analyse, use, or build.