This preview shows pages 1–6. Sign up to view the full content.
CS2603 Applied Logic for Hardware and Software
Rex Page – University of Oklahoma
1
Lecture 3 —CS 2603
Applied Logic for Hardware and Software
WFFs = Combinational Circuits
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document CS2603 Applied Logic for Hardware and Software
Rex Page – University of Oklahoma
2
Gate Diagram –Logical And
c
i
r
u
t
h
e
P
Q
P
∧
Q
False
False
False
False
True
False
True
False
False
True
True
True
Shape of symbol designates
input/output behavior
Math way
EE way
A
B
AB
0
0
0
0
1
0
1
0
0
1
1
1
INPUTS
OUTPUT
n
p
s
o
l
f
g
&
A
B
OUT
IEC Symbol
This course uses Math way and EE way, interchangeably
Nobody uses these … Why?
build gate as electrical circuit
A
B
AB
AND
C
T
C
T
OUT
A
B
CS2603 Applied Logic for Hardware and Software
Rex Page – University of Oklahoma
3
Gate Diagram –Logical Or
>=1
A
B
OUT
IEC Symbol
P
Q
P
∨
Q
False
False
False
False
True
True
True
False
True
True
True
True
A
B
A+B
OR
A
B
A+B
0
0
0
0
1
1
1
0
1
1
1
1
INPUTS
OUTPUT
c
i
r
u
t
h
e
C
T
C
T
OUT
A
B
build gate as electrical circuit
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document CS2603 Applied Logic for Hardware and Software
Rex Page – University of Oklahoma
4
Gate Diagram –Logical Not
IEC Symbol
P
¬
P
False
True
True
False
A
A
NOT
c
i
r
u
t
h
e
OUT
A
INPUT OUTPUT
A
A
0
1
1
0
build gate as electrical circuit
CS2603 Applied Logic for Hardware and Software
Rex Page – University of Oklahoma
5
Gate Diagram –Logical Nand
P
Q
¬
(
P
∧
Q)
False
False
True
False
True
True
True
False
True
True
True
False
A
B
AB
0
0
1
0
1
1
1
0
1
1
1
0
INPUTS
OUTPUT
&
A
B
OUT
IEC Symbol
NOT
AA
AND
=
AB
A
B
A
B
OR
AB
=
A+B
A
B
A
B
AB
A
B
AB
NAND
NAND is all you need
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 04/08/2008 for the course CS 2603 taught by Professor Rexpage during the Spring '08 term at The University of Oklahoma.
 Spring '08
 RexPage

Click to edit the document details