Share |

Truth Tables

Often the logical functionality of a gate or a series of gates is illustrated by a truth table. With a truth table all possible combinations of input states are considered and the output value for each of these input states is listed in a table. Examples of truth tables can be found in the descriptions of basic logic gates and other logic gates.

The "don't care" condition

It can easily be seen that for a logic gate with n inputs then the corresponding truth table requires 2n rows or entries. For devices with 4 or more inputs, representing each input state in this way can be a lengthy procedure. To simplify this representation of a logic function the concept of the "dont care" condition is introduced.

Consider, for example the truth table for a three-input OR gate, it looks like

++
0000
0011
0101
0111
1001
1011
1101
1111

 

This table can be simplified by writing

++
0000
1xx1
x1x1
xx11

 

where x can equal 0 or 1.