Combinational logic explained

In automata theory, combinational logic (also referred to as time-independent logic[1]) is a type of digital logic that 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.

Practical design of combinational logic systems may require consideration of the finite time required for practical logical elements to react to changes in their inputs. Where an output is the result of the combination of several different paths with differing numbers of switching elements, the output may momentarily change state before settling at the final state, as the changes propagate along different paths. [2]

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. Consider the following truth table :

Result Logical equivalent

\negA\wedge\negB\wedge\negC

\negA\wedge\negB\wedgeC

\negA\wedgeB\wedge\negC

\negA\wedgeB\wedgeC

A\wedge\negB\wedge\negC

A\wedge\negB\wedgeC

A\wedgeB\wedge\negC

A\wedgeB\wedgeC

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

(A\wedge\negB\wedge\negC)\vee(A\wedgeB\wedgeC)

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

A\wedge((\negB\wedge\negC)\vee(B\wedgeC))

Logic formula minimization

Minimization (simplification) of combinational logic formulas is done using the following rules based on the laws of Boolean algebra:

\begin{align} (A\veeB)\wedge(A\veeC)&=A\vee(B\wedgeC)\\ (A\wedgeB)\vee(A\wedgeC)&=A\wedge(B\veeC) \end{align}

\begin{align} A\vee(A\wedgeB)&=A\\ A\wedge(A\veeB)&=A \end{align}

\begin{align}A\vee(lnotA\wedgeB)&=A\veeB\\ A\wedge(lnotA\veeB)&=A\wedgeB \end{align}

\begin{align}(A\veeB)\wedge(lnotA\veeB)&=B\\ (A\wedgeB)\vee(lnotA\wedgeB)&=B \end{align}

\begin{align} (A\wedgeB)\vee(lnotA\wedgeC)\vee(B\wedgeC)&=(A\wedgeB)\vee(lnotA\wedgeC)\\ (A\veeB)\wedge(lnotA\veeC)\wedge(B\veeC)&=(A\veeB)\wedge(lnotA\veeC) \end{align}

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.

See also

References

External links

Notes and References

  1. Book: C.J. Jr. . Savant . Martin . Roden . Gordon . Carpenter . Electronic Design: Circuits and Systems . 1991 . 0-8053-0285-9 . 682 .
  2. Book: Lewin, Douglas . Logical Design of Switching Circuits . Thomas Nelson and Sons . 2nd . 1974 . 017-771044-6 . 162–3 .