EEEE-120_Lecture 2_logic Circuits_1.pdf
-
Upload
asad-ur-rehman -
Category
Documents
-
view
217 -
download
0
Transcript of EEEE-120_Lecture 2_logic Circuits_1.pdf
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
1/27
RIT DubaiDigital Systems I EEEE-120
Introduction to Logic
CircuitsLamia Tchoketch Kebir
Spring 2016
Based on Stephen Brown and Zvonko Vranesic,
Fundamentals of Digital Logic with VHDL Design
McGraw-Hill, 3rdEdition
1
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
2/27
ObjectivesO Logic functions and circuits
O Boolean Algebra
O Logic gates and synthesis of simple circuits.
2
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
3/27
IntroductionO The study of logic circuits is motivated
mostly by their use in digital computers.
O Logic circuits perform operations on digitalsignals and are usually implemented as
electronic circuits where the signal values
are restricted to few discrete values.
O
In binary logic circuits there are only twovalues, 0 and 1.
3
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
4/27
Variables and Functions
4
Symbol for a switch
Switch open: x = 0, Switch closed: x = 1
The simplest binary element is a switch that has two states.
Input variable: x
Input: x,
Output: y = F(x)
state of the
light F(x) = x.
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
5/27
Variables and Functions
x y
0 0
1 1
x1 x2 y
0 0 00 1 0
1 0 0
1 1 1
x1 x2 y
0 0 0
0 1 1
1 0 1
1 1 15
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
6/27
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
7/27
Inversionx y
0 1
1 0
7
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
8/27
Truth Tables
8
A truth table shows the output of the function for all the combinations
of the inputs
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
9/27
Logic Gates and Networks
9
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
10/27
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
11/27
Analysis of a Logic Network
11
Determine the function performed by the following network (analysis)
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
12/27
Analysis of a Logic Network
12
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
13/27
Functionally Equivalent Networks
13
Determine the function performed by the following two networks
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
14/27
Boolean Algebra
14
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
15/27
15
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
16/27
16
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
17/27
DeMorgansTheorem
17
Prove DeMorganstheorem by induction (using truth tables)
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
18/27
DeMorgansTheorem
18
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
19/27
Example 1
19
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
20/27
Example 1
20
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
21/27
21
Example 2
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
22/27
22
Example 3
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
23/27
Venn Diagram representation
23
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
24/27
Verification of the distributive
property
24
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
25/27
Verify
25
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
26/27
26
-
7/24/2019 EEEE-120_Lecture 2_logic Circuits_1.pdf
27/27
Precedence of OperationsO Operations in a logic expression must be performed
in the order: Parentheses, NOT, AND, and then OR
O Example:
O In ordinary arithmetic, the same precedence holds
Multiplication AND
AdditionOR
27