Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
The CPU is constructed from logic gates. The basic activity of the control unit is decoding instructions. Decoder circuits use an input binary number to select an output line, or several lines. Logic circuits can be implemented directly from truth table information.
EXAMPLE SYSTEM
Traffic light controllers found at British road junctions have the sequence Red, Red/Amber, Green, Amber, and then Red again. We will analyze the corresponding truth tables.
The input is directly connected to the output if an output column is identical to an input column. No logic is required.
The
level crossing Amber output and Y input are identical and can be expressed as
An output can be generated by a simple logic function from only some of the inputs.
The
Use an AND gate to detect the input row if an output column only has a single 1.
The
10
Use an AND gate to detect the input row pattern, and then a NOT inverter when an output column only has a single 0.
11
can be used as a difference detector as seen in the motor control output from the following washing machine example.
12
13
14
When these short cuts do not work out, the brute force method remains:
Run
down each output column and mark every row which contributes a 1. Next set up an AND gate pattern detector for each marked row, using NOT gates on inputs if 0 is detected. Then allocate an OR gate to each output column.
15
to 8 line decoder Accepts three binary weighted inputs. The output selected depends on the input number. Ideal for memory chip select decoding.
16
17
The seven-segment decoder has three inputs and eight outputs and could be modified to implement a binary to seven-segment display converter.
18
19
20
21
Logic circuit for the a segment of a sevensegment LED driver. a can be derived by taking the complemen t of inverse a
22
SUMMARY
Truth tables can clearly express logic circuit functionality by displaying input-output relationships. Some short cuts can be used to speed up the process of deriving logic circuits from truth tables. Logic minimization may not be the priority when building circuits.
23
THE END
24