Digital Circuits
-
Upload
dorian-eaton -
Category
Documents
-
view
25 -
download
1
description
Transcript of Digital Circuits
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Digital Circuits
OR
AND
NOT ~p
p∨q
p∧qp and q
not p
pq
p
p
q p or q
p⋅q
p+q
′ p
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Textbook - Example 1.7
pq
(p⋅q ′ )
Textbook - Example 1.8
p
r
q (p+q)⋅ ′ r
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Textbook - Example 1.9
p
r
q
( ′ p ⋅q) +(p⋅ ′ r ′ )
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Textbook – Example 1.13
+ 0 1
0 00 01
1 01 10
Half-adder adds two binary numbers:
p q d0 d11 1 0 1
1 0 1 0
0 1 1 0
0 0 0 0
d0 ≡p ′ q + ′ p q
d1≡p•q
is equivalent to:
d0 ≡(p+q) ⋅(pq ′ )
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
d0 ≡(p+q) ⋅(pq ′ )
Textbook – Example 1.13
pqd …1
pq d0
d1
+pq
d0
d1
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Set Theory
a ∈A a belongs to Aa ∉A a does not belong to A
A⊂ B if a belongs to A, then a belongs to B (subset)
A=B A⊂ B and A ⊃ B
Empty Set: ∅ Universal Set: U
A⊆ B A ⊂ B and A ≠B
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Set Operations
C =A I B c ∈ C, iff c∈A and c∈B
AI B = {x : x∈A and x∈B}
Aii=1
k
I ≡A1I A2 I K I Ak ={x : x∈Ai , for i =1K k}
Intersection
C =AUB c ∈ C, iff c∈A or c∈B
AU B = {x : x∈A or x ∈B}
Aii=1
k
U ≡A1U A2UK U Ak
={x : if there is an i =1K k, such that x∈Ai}
Union
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
More Operations
Set Difference: A−B = {x : x∈A,x∉B}
Symmetric Difference AΔB =(A−B)U(B−A)
Complement ′ A =U −A
Power Set: The set of all subsets of A : P(A)
Cartesian Product A×B : Set of all ordered pairs (a,b)
001 011 010
111
110101
100
IS 2
020
Mat
hem
atic
al F
oun
dati
ons
of I
nfo
rmat
ion
Sci
ence
--
Pau
l Mu
nro
Venn Diagrams