NWmainlogo.gif (3093 bytes)

 

digital reference

logic gates

digital design methods

Boolean simplifications

  logic gates

AND

gate_and.gif (613 bytes)

expression: DigEqu1.gif (421 bytes), a AND b = y

truth table:

a b y
0 0 0
0 1 0
1 0 0
1 1 1

OR

gate_or.gif (605 bytes)

expression: a + b = y, a OR b = y

truth table:

a b y
0 0 0
0 1 1
1 0 1
1 1 1

NOT

gate_not.gif (577 bytes)

expression: DigEqu2.gif (376 bytes), NOT a = y

truth table:

a y
0 1
1 0

NAND

gate_nand.gif (657 bytes)

expression: DigEqu3.gif (442 bytes), a NAND b = y

truth table:

a b y
0 0 1
0 1 1
1 0 1
1 1 0

NOR

gate_nor.gif (673 bytes)

expression: DigEqu4.gif (455 bytes), a NOR b = y

truth table:

a b y
0 0 1
0 1 0
1 0 0
1 1 0

XOR (exclusive-OR)

gate_xor.gif (717 bytes)

expression: DigEqu5.gif (613 bytes), a XOR b = y

truth table:

a b y
0 0 0
0 1 1
1 0 1
1 1 0

 digital circuit design methods

truth table-based design

Truth table based design is probably the easiest and most efficient approach in designing a logic circuit. The use of a truth table, as the basis for the design of a circuit, permits the use of Boolean algebra. (Boolean algebra for logic elements can be learned here.) Therefore, this approach is highly objective and less dependent on the designer's skill and experience.

steps in the process

 Problem is carefully stated.

 Problem is restated in truth table form.

 Truth table information is converted to Boolean expressions.

 Expressions are simplified. (Boolean expression simplification here)

 Simplified expressions are converted into logic diagrams.

 Prototypes are constructed and tested.

truth table form

All you have to do to put your idea in truth table form is recognize all inputs and outputs of your circuit and give each one an individual variable name. Figure out what combinations of input-states (1s or 0s) would be valid for the use of your circuit. Then organize all inputs and outputs in a table like this example:

INPUT OUTPUT
a b c d y
0 0 1 1 1
1 0 0 1 1
0 0 0 0 0
1 1 1 0 0

For this example, lets just say that these four 1/0 input combinations are the only valid ones for this particular circuit. The total number of possible input combinations for a 4-input digital circuit would be 16 (24), but in this case the other 12 don't matter.

truth table to Boolean expression

 sum of products

If the majority of possible output signals for a given output are 0s, then you should use the sum of products method.

In the above example, the sum of products method would be used. We first take the 1s in the given output (y) and focus on these entire horizontal segments of binary digits. In sum of products, we need to turn all the inputs to 1. We do this by "NOTing" each of the 0 inputs. We must also "AND" each individual input together. We do the same to the lines containing the other 1 outputs and then we OR these two expressions together.

DigEqu6.gif (736 bytes)

 product of sums

The product of sums method is the opposite of the sum of products method.

With this method, you focus on the outputs that are 0s. In the same manner as the sum of products, you focus on the lines containing 0 outputs and this time change all of the 1 inputs to 0s by "NOTing" them. Instead of "ANDing" each of these inputs together, you will "OR" them together. Do this to all other lines with 0s as outputs and finally "AND" them all together.

DigEqu7.gif (957 bytes)

Although this statement looks differently than the one obtained by the sum of products method, the have the exact equivalence and can be determined by "Boolean Expression Simplifications", which can be found here.

 Boolean algebra simplifications

Boolean expression simplifications can be directly applied to any Boolean expression. What these simplifications do is reduce the number of digital elements needed to design a circuit but retain its normal functions. Below is a list of some basic simplifications for digital circuits using AND, OR, NOT, NAND, NOR, and XOR elements.

DigEqu8.gif (2126 bytes)