Professional Documents
Culture Documents
Sample Problems 1
Sample Problems 1
PS NS
𝑨 𝑩 𝑪 𝑨 𝑩 𝑪
0 0 0 0 0 1
0 0 1 0 1 0
0 1 0 0 1 1
0 1 1 1 0 0
1 0 0 1 0 1
1 0 1 1 1 0
1 1 0 1 1 1
1 1 1 0 0 0
𝐴 ̅̅̅̅𝐵 𝐶 + 𝐴 𝐶
=𝐴 ̅̅̅ + 𝐴 𝐵
̅̅̅
-------------------------------------------------------------------------------------------------------------------------------
Problem Give implementations of 3 bit Johnson (or twisted ring) counter using ACT2 LM
Solution:
PS NS
𝑨 𝑩 𝑪 𝑨 𝑩 𝑪
0 0 0 1 0 0
1 0 0 1 1 0
1 1 0 1 1 1
1 1 1 0 1 1
0 1 1 0 0 1
0 0 1 0 0 0
S R
X 1 X 1
1 X 0 1
= + ̅
̅ = ( ) + ̅( )
Problem Give implementation of 3 bit binary- to-gray code converter using ACT1 series
Solution:
Binary input Gray code output
𝑩 𝑩 𝑩 𝑮 𝑮 𝑮
MSB MSB
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 1 1
0 1 1 0 1 0
1 0 0 1 1 0
1 0 1 1 1 1
1 1 0 1 0 1
1 1 1 1 0 0
Note that gray code satisfies unit distance property, reflective and cyclic property.
Considering K-map, it can be shown that
=𝐵
=𝐵 𝐵
=𝐵 𝐵
2 ACT1 LMs are sufficient to implement 3 bit binary- to- gray code converter
Problem Give implementation of 3 bit gray- to-binary code converter using ACT1 series
Solution:
Gray code input Binary output
𝑮 𝑮 𝑮 𝑩 𝑩 𝑩
MSB MSB
0 0 0 0 0 0
0 0 1 0 0 1
0 1 1 0 1 0
0 1 0 0 1 1
1 1 0 1 0 0
1 1 1 1 0 1
1 0 1 1 1 0
1 0 0 1 1 1
Considering K-map, it can be shown that
𝐵 =
𝐵 =
𝐵 =
These equations can be further simplified as given below (so as to reduce the number of LMs
required):
𝐵 =
𝐵 =𝐵
𝐵 =𝐵
2 ACT1 LMs are sufficient to implement 3 bit gray- to-binary code converter