Download presentation
Presentation is loading. Please wait.
1
Instructor: Alexander Stoytchev
CprE 281: Digital Logic Instructor: Alexander Stoytchev
2
Logic Gates CprE 281: Digital Logic Iowa State University, Ames, IA
Copyright © Alexander Stoytchev
3
Administrative Stuff This is the official class web page:
A link was ed to you on Monday. Let me know if you did not get that .
4
Administrative Stuff HW1 is out It is due on Wednesday Sep 4 @ 4pm.
Submit it on paper before the start of the lecture
5
Administrative Stuff HW2 is out It is due on Monday Sep 9 @ 4pm.
Submit it on paper before the start of the lecture
6
Administrative Stuff The labs and recitations start next week:
Section N: Mondays, 9: :50am (Coover Hall, room 2050) Section M: Tuesdays, 2:10 - 5:00pm (Coover Hall, room 2050) Section J: Wednesdays, 8: :50am (Coover Hall, room 2050) Section L: Thursdays, 2:10 - 5:00pm (Coover Hall, room 2050) Section K: Thursdays, 5:10 - 8:00pm (Coover Hall, room 2050) Section G: Fridays, 11:00am - 1:50pm (Coover Hall, room 2050)
7
Figure 1.5 in the textbook: An FPGA board.
Labs Next Week Figure 1.5 in the textbook: An FPGA board.
8
Labs Next Week Please download and read the lab assignment for next week before you go to your lab section. You must print the answer sheet and do the prelab before you go to the lab. The TAs will check your answers at the beginning of the lab.
9
Administrative Stuff No class next Monday (Labor Day)
If you are in the Monday Lab, please go to one of the other five labs next week. The lab schedule is posted on the class web page
10
A Binary Switch x = x = 1 (a) Two states of a switch S x
x = 1 (a) Two states of a switch S x (b) Symbol for a switch [ Figure 2.1 from the textbook ]
11
A Light Controlled by a Switch
(a) Simple connection to a battery S Battery Light x [ Figure 2.2a from the textbook ]
12
A Light Controlled by a Switch
(b) Using a ground connection as the return path Power supply S Light x [ Figure 2.2b from the textbook ]
13
The Logical AND function (series connection of the switches)
Power supply Light x1 x2 [ Figure 2.3a from the textbook ]
14
The Logical OR function (parallel connection of the switches)
Power supply Light x1 x2 [ Figure 2.3b from the textbook ]
15
A series-parallel connection
of the switches S Power supply Light X1 X2 X3 [ Figure 2.4 from the textbook ]
16
An Inverting Circuit R Power supply S Light x
[ Figure 2.5 from the textbook ]
17
The Three Basic Logic Gates
x 1 2 × x 1 2 + x NOT gate AND gate OR gate [ Figure 2.8 from the textbook ]
18
Truth Table for NOT x 1 x
19
Truth Table for AND x 1 2 ×
20
Truth Table for OR x 1 2 +
21
Truth Tables for AND and OR
[ Figure 2.6b from the textbook ]
22
Logic Gates with n Inputs
x 1 2 n × x 1 2 n + AND gate OR gate [ Figure 2.8 from the textbook ]
23
Truth Table for 3-input AND and OR
[ Figure 2.7 from the textbook ]
24
Example of a Logic Circuit Implemented with Logic Gates
1 2 3 f + ( ) × = [ Figure 2.8 from the textbook ]
25
Example of a Logic Circuit Implemented with Logic Gates
1 2 3 f + ( ) × = [ Figure 2.8 from the textbook ]
26
Network Analysis [ Figure 2.10 from the textbook ]
27
Network Analysis [ Figure 2.10 from the textbook ]
28
Network Analysis [ Figure 2.10 from the textbook ]
29
Network Analysis [ Figure 2.10 from the textbook ]
30
Network Analysis [ Figure 2.10 from the textbook ]
31
Timing Diagram [ Figure 2.10 from the textbook ]
32
Truth Table for this Network
[ Figure 2.10 from the textbook ]
33
Functionally Equivalent Networks
[ Figure 2.10 from the textbook ]
34
Functionally Equivalent Networks
[ Figure 2.10 from the textbook ]
35
The XOR Logic Gate [ Figure 2.11 from the textbook ]
36
The XOR Logic Gate [ Figure 2.11 from the textbook ]
37
Addition of Binary Numbers
[ Figure 2.12 from the textbook ]
38
Addition of Binary Numbers
[ Figure 2.12 from the textbook ]
39
Addition of Binary Numbers
40
Addition of Binary Numbers
41
Addition of Binary Numbers
42
Addition of Binary Numbers
43
Addition of Binary Numbers
44
Addition of Binary Numbers
45
Addition of Binary Numbers
46
Addition of Binary Numbers
47
Addition of Binary Numbers
48
Addition of Binary Numbers
49
Addition of Binary Numbers
50
Addition of Binary Numbers
51
Addition of Binary Numbers
52
Addition of Binary Numbers
?
53
Addition of Binary Numbers
AND
54
Addition of Binary Numbers
55
Addition of Binary Numbers
?
56
Addition of Binary Numbers
XOR
57
Addition of Binary Numbers
58
Addition of Binary Numbers
59
Addition of Binary Numbers
60
The following examples came from this book
61
[ Platt 2013 ]
62
[ Platt 2013 ]
63
[ Platt 2013 ]
64
Questions?
65
THE END
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.