Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Combinational Logic
Paul Godin
godinp@telusplanet.net
February 2004
1
Basic Digital Logic 2
Review
2
Review
◊ Digital Electronics makes use of 2
states:
◊ Logic High, or “1”
◊ Logic Low, or “0”
3
Review
◊ There are 3 basic digital gates:
◊ AND
◊ OR
◊ NOT
4
Review
5
Review Questions
What is the outcome of the following:
1 1
0
1 1
0 1
6
Basic Digital Logic 2
7
Combinational Logic
◊ A circuit that utilizes more that 1
logic function has Combinational
Logic.
8
Combinational logic
◊ How would your describe the output
of this combinational logic circuit?
9
NAND Gate
◊ The NAND gate is the combination
of an NOT gate with an AND gate.
10
Combinational logic
◊ How would your describe the output
of this combinational logic circuit?
11
NOR gate
◊ The NOR gate is the combination of
the NOT gate with the OR gate.
12
NAND and NOR gates
◊ The NAND and NOR gates are very
popular as they can be connected in
more ways that the simple AND and
OR gates.
13
Exercise 1 – a bit challenging
Complete the Truth Table for the NAND and NOR Gates
NAND NOR
Input Output Input Output
0 0 0 0
0 1 0 1
1 0 1 0
1 1 1 1
Hint: Think of the AND and OR truth tables. The outputs for the NAND and NOR are inverted.
14
Exercise 2 – more challenging
15
Basic Digital Logic 2
16
Basic Digital Chips
◊ Digital Electronics devices are
usually in a chip format.
◊ The chip is identified with a part
number or a model number.
◊ A standard series starts with
numbers 74, 4, or 14.
◊ 7404 is an inverter
◊ 7408 is an AND
◊ 7432 is an OR
◊ 4011B is a NAND
17
Chips
◊ Basic logic chips
Pin 14 Pin 8
often come in 14-pin
packages.
◊ Package sizes and
styles vary.
◊ Pin 1 is indicated
with a dot or half-
circle
◊ Numbers are read
counter-clockwise
from pin 1 (viewed Pin 1 Pin 7
from the top)
18
Chips
◊ Chips require a Pin 14 Pin 8
voltage to function
◊ Vcc is equal to 5
volts and is typically
pin 14
◊ Ground is typically
pin 7
Pin 1 Pin 7
19
Chips – Specification Sheet
Voltage
Ground
Vcc IN
OUT
Vcc Probe
22
Useful Resources
◊ Textbooks on Digital Electronics (used is ok!)
◊ Electronics Workbench or other electronic simulation
software
◊ Craig Maynard’s Virtual Vulcan
◊ The following web sites:
◊ http://learnat.sait.ab.ca/ict/digi240_godin/default.htm
◊ http://learnat.sait.ab.ca/ict/cmph200/Default.htm
◊ http://learnat.sait.ab.ca/ict/cmph200_godin/default.htm
◊ http://focus.ti.com/docs/logic/logichomepage.jhtml
◊ http://www.onsemi.com
◊ http://www.national.com/
◊ http://www.play-hookey.com/digital/
◊ http://www.crhc.uiuc.edu/~drburke/databookshelf.html
◊ http://www.digikey.ca/
23
Lab Exercise
◊ Using the experimenter’s boards,
connect the circuit provided to you
in the following pages.
24
Layout of the SK-10
Experimenter's Board
25
Layout of the SK-10
Experimenter's Board
Flat Side
7400
Wires
26
Logic Diagram of Lab
27
End of Basic Digital Logic 2