Ece221 4
Ece221 4
is a 1. 1 1 1 1 ABC
Step 3. Write the SOP form the output
Step 4. Simplify the output expression
x ABC A BC AB C ABC
x ABC ABC A BC ABC AB C ABC BC AC AB
Step 5. Implement the circuit
x = BC + AC + AB
4-5 Karnaugh Map (K Map) Method
K Map shows the relationship between inputs and outputs. The
horizontally and vertically adjacent squares differ only in one variable.
Looping is a process combining the squares which contain 1s. The
output expression can be simplified by looping.
FIGURE 4-12 Examples of looping pairs of adjacent 1s.
FIGURE 4-13 Examples of looping groups of four 1s (quads).
4-5 Karnaugh Map (K Map) Method cont.
FIGURE 4-14 Examples of looping groups of eight 1s (octets).
• Summary :When a variable appears in both complemented and uncomplemented
form within a loop, that variable is eliminated from the expression. Variables that
are the same for all squares of the loop must appear in the final expression.
Summary
Compared to the algebraic method, the K-map process is a more
orderly process requiring fewer steps and always producing a
minimum expression.
For the circuits with large numbers of inputs (larger than four),
other more complex techniques are used.
4-6 Exclusive-OR and Exclusive-NOR Circuits
Exclusive-OR (XOR) produces a HIGH output whenever the two
inputs are at opposite levels.
Exclusive-NOR (XNOR) :
Exclusive-NOR (XNOR) produces a HIGH output whenever the two
inputs are at the same level.
XNOR gate may be used to simplify circuit implementation.
4-7 Parity Generator and Checker
FIGURE 4-25 XOR gates used to implement the parity generator and the parity
checker for an even-parity system.
4-8 Enable/Disable Circuits
FIGURE 4-26 Four basic gates can either enable or disable the passage of an
input signal, A, under control of the logic level at control input B.
4-8 Enable/Disable Circuits cont.
Example 4-21(Fig.a): Design a logic circuit that will allow a signal to pass
to the output only when control inputs B and C are both HIGH;
otherwise , the output will stay LOW.