X
1
X
2
f
AND
f
OR
f
NAND
f
NOR
f
XOR
0
0
0
0
1
1
0
0
1
0
1
1
0
1
0
D
0
D
1
Ð
D
0
Ð
0
Ð
1
D
Ð
1
0
0
1
1
0
1
1
1
1
1
0
0
0
1
D
D
1
Ð
0
Ð
1
Ð
Ð
1
D
0
D
D
0
0
D
1
Ð
D
D
1
D
1
Ð
0
Ð
D
D
D
D
Ð
Ð
0
D
Ð
0
1
1
0
1
Ð
0
0
Ð
1
D
Ð
Ð
1
Ð
1
D
0
D
Ð
D
0
1
1
0
1
Ð
Ð
Ð
Ð
D
D
0