03-04 - Gates & Booelanalg - 2022-23
03-04 - Gates & Booelanalg - 2022-23
Doç. Dr.
Birim BALCI CBÜ 2022-23 Spring
Logic Circuit
2
Logic Levels
Exp 1: Exp 2:
Draw the truth table and logic circuit
A logic circuit for the following function and analyse
implemented by the circuit.
F(a,b,c) = ac+bc’
using AND, OR gates
• the circuit
• Analyse
in the case of inputs
(a=1, b=1, c=1)
Logic Gates
10
Possible Circuit
combinations:
* Reduce the
Function could function and
be written as: draw the circuit.
DUALITY
11
Given any logic expression, its dual is formed by replacing all + with · , and
vice versa and replacing all 0s with 1s and vice versa
f(a,b)=a+b dual of f(a,b)=a’·b’
f(x)=x+0 dual of f(x)=x’.1
12
13
14
15
Example
Proving the Theorems
16
Exp: Exp:
Prove x+x’·y=x+y Prove (xy)’=x’+y’
Boolean Algebra…
19
consider
2 switches controlling the state of the light
Example:
EK
Simplifying (minimizing) an equation
22
simplifying
23
Exp:
Examples: for your study
24
Exp 1:
Exp 2:
Exp3:
Exp4:
Exp5:
Logical sum and logical product terms
25
Truth Table
Expression
Symbol
Truth Table
Expression
Reminding : Logic Gate Symbols
AND XOR
OR XNOR
NAND
NOR
29
Implementing Circuit From Boolean Expression
30
EK
Implementing Boolean Expression From Logic
Circuit
31
F = ( ( X’ . Y ) . Z’ ) + (X .Z’)
EK
32
Standard symbols
Take notes !