Chapter1 COA
Chapter1 COA
DEFINITION
system.
called gates.
Department of IT, University of Gondar. 8
• Gates are blocks of hardware that produce signals of binary 1
expressions:
a. X+Y'Z
b. AB'+C'D
c. AB + A'B' + A'BC
AND, NOT …)
• For the given value of variables, the Boolean function can be either 0 or 1.
F= X+Y'Z
F is equal to 0
binary variables
diagrams
1b. 1 + 1 = 1 5a. x · 0 = 0
2a. 1 · 1 = 1 5b. x + 1 = 1
2b. 0 + 0 = 0 6a. x · 1 = x
3a. 0 · 1 = 1 · 0 = 0 6b. x + 0 = x
3b. 1 + 0 = 0 + 1 = 1 7a. x · x = x
Commutative Absorption
10a. x · y = y · x 13a. x + x · y = x
10b. x + y = y + x 13b. x · (x + y) = x
1. Simplify (x + y) · (x + y')
3. Simplify (A+B)(A+C)
4. Simplify the following boolean function and draw its logic circuit.
7. Simplify the following boolean function and draw its logic circuit.
The rows and columns correspond to the possible values of the function’s
inputs.
Each cell represents the outputs of the function for those possible inputs.
minterm.
For example, if there are two input values, x and y, there are four
minterms, x’y’ , x’y, xy’, and xy, which represent all of the possible
• The minterm x’y’ represents the input pair (0,0). Similarly, the
minterm x’y represents (0,1), the minterm xy’ represents (1,0), and
xy represents (1,1).
Department of IT, University of Gondar. 19
• To use this map to reduce a Boolean function, we simply need to
group ones.
The squares corresponding to minterms that produces 1 for a function
other.
into the map by inserting 1's into those squares where the
function is 1.
No diagonals.
Overlapping allowed.
SOP.
X Y Z F
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 0
1 0 0 0
1 0 1 1
1 1 0 1
1 1 1 0
follows:
F(X,Y,Z)=∑ (1,2,5,6)
1. F (ABC) =∑ (3, 4, 6, 7)
F=BC+AC’
2. F (A B C) = Σ (0, 2, 4, 5, 6)
F=C’+AB’
• The 1’s in the Map represent minterms that produce 1 for the
function.
• If we mark empty squares with a 0’s and combine them we can get
F’.
form of Product-of-sum.
Simplification.
• When choosing adjacent squares for the function in the map, the
simplest expression.
F(A,B,C) = Σ(0,2,6)
d(A,B,C) = Σ(1,3,5)
F=A’ + BC’
3.The truth table that defines the relationship between inputs and
outputs is derived
Half-Adder
S= X ⊕Y ⊕Z
C= XY +(X ⊕Y)Z
= XY + XZ + YZ
information.
• It has two outputs, one for the normal value and one for the
circuits.
clock pulses.
and the manner in which the inputs affect the binary state.
1.SR Flip-Flop
2.D Flip-Flop
3.JK Flip-Flop
4.T Flip-Flop
current state, Q.
• There are three inputs: S(for set), R(for reset), and the
Drawback
output becomes 0.
• Refinement of SR flip-flop.
• Inputs J and K behaves like S and R to set and clear the flip-
flop respectively.
Q(t+1)=Q’(t).
the flip-flop
flip flop
Q(t+1)= Q(t) T
transition.
combinational circuit.
DA= AX+BX
DB= A’X
• The sequential circuit also has an external output, which is the function
Y= AX’+ BX’
flop.
by slash.
The number after the slash gives an output during the present state
change condition
• Example
State diagram
DA = ∑(2, 4, 5, 6)
DB = ∑ (1, 3, 5, 6)
y = ∑ (1, 5)
• Use Karnaugh maps to reduce the flip-flop input functions and the output
function
DA = AB' + Bx'
y = B'x
Department of IT, University of Gondar. 64
Continued