







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








One can build Toffoli gate with 3 inputs
Can one build Toffoli gate with n inputs??????
Of course, from many gates, but directly???
map.
YZ WX 00 01
00
01
0 1
4 5
3 2
7 6
11 10
124
8 9 11 10
13 15 14 11
10
YZ WX 00 01
00
01
0 1
4 5
3 2
7 6
11 10
124
8 9 11 10
13 15 14 11
10
Simple Idea – build ESOP circuit from Toffoli gates
w x
y z
0
Davio expansions and Shannon Expansions)
ESOP)
g f^ A
00 01 11 10
00 AB^ C^0 01 11 10
AB C 0 1
00 01 11 10
AB C 0 1
0 1 0 1 1 0 1 1
1 1 1 0
00 01 11 10
AB C 0 1 0 1 0 1
f (^) A’
X=f (^) A’⊕ f (^) A
00 01 11 10
AB C 0 1
1 0 ¬ C
f (^) B’
00 01 11 10
AB C 0 1
f (^) B’ ⊕ f (^) B 0 1
Graphical method to calculate decision diagram from Toffoli gates
We use Davio expansions
Use Toffoli gates to realize Davio expansions
The concepts of Davio expansions and ESOP/DSOP circuits will be more elaborated in next lectures. Now you can just use their ideas for simple circuits.