Comparators & Code Converter Ppt
-
Upload
nandhakumarme -
Category
Documents
-
view
132 -
download
3
description
Transcript of Comparators & Code Converter Ppt
![Page 1: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/1.jpg)
Alpha Breathing
![Page 2: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/2.jpg)
Evocation
2
![Page 3: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/3.jpg)
Code Converters
3
![Page 4: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/4.jpg)
4
BCD-to-Excess-3 Code Converter - Specificaiton
The excess-3 code for a decimal digit is the binary combination correspondingto the decimal digit plus 3. For example, the excess-3 code for decimal digit 5is the binary combination for 5 + 3 = 8, which is 1000.
Each BCD digit is four bits with the bits, from most significant to leastsignificant, labeled A, B, C, D. Each excess-3 digit is four bits, with the bits,from most significant to least significant, labeled W, X, Y, Z.
ABCD
WXYZ
BCDdigit
Excess-3digit
BCD-toExcess-3
![Page 5: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/5.jpg)
5
BCD-to-Excess-3 Code Converter - Formulation
![Page 6: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/6.jpg)
6
BCD-to-Excess-3 Code Converter - Optimization
![Page 7: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/7.jpg)
7
BCD-to-Excess-3 Code Converter - Optimization
![Page 8: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/8.jpg)
8
BCD-to-Seven-Segment Decoder - Specification
Digital readouts found in many consumer electronic products often use LightEmitting Diodes (LEDs). Each digit of the readout is formed from seven LEDsegments. Each segment can be illuminated by a digital signal. A BCD-to-
seven-segment decoder is a combinational circuit that accepts a decimal digit inBCD and generates the appropriate outputs for the segments of the displayfor the decimal digit. The seven outputs of the decoder (a,b,c,d,e,f,g)select the corresponding segments in the display. BCD-to-seven-segmentdecoder has four inputs, A, B, C, and D for the BCD digit and seven outputs,a through g, for controlling the segments.
![Page 9: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/9.jpg)
9
BCD-to-Seven-Segment Decoder - Formulation
![Page 10: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/10.jpg)
10
BCD-to-Seven-Segment Decoder - Optimization
a= A’C + A’BD + B’C’D’ + AB’C’
b= A’B’ + A’C’D’ + A’CD + AB’C’
c= A’B + A’D + B’C’D’ + AB’C’
d= A’C^D’ + A’B’C + B’C’D’ + AB’C’ + A’BC’D
e= A’CD’ + B’C’D’
f= A’BC’ + A’C’D’ + A’BD’ + AB’C’
g= A’CD’ + A’B’C + A’BC’ + AB’C’
![Page 11: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/11.jpg)
FOUR BIT BINARY TO GRAY CODE CONVERTER –DESIGN
11
INPUT ( BINARY) OUTPUTS (GRAY CODE)
B3 B2 B1 B0 G3 G2 G1 G0
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 0
0 1 0 1 0 1 1 1
0 1 1 0 0 1 0 1
0 1 1 1 0 1 0 0
1 0 0 0 1 1 0 0
1 0 0 1 1 1 0 1
1 0 1 0 1 1 1 1
1 0 1 1 1 1 1 0
1 1 0 0 1 0 1 0
1 1 0 1 1 0 1 1
1 1 1 0 1 0 0 1
1 1 1 1 1 0 0 0
MSB0
+1
+1
+0
+1
0 1 0 1 1
Binary code
Gray code
![Page 12: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/12.jpg)
Simplification using K-maps
12
![Page 13: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/13.jpg)
Logic Diagram
13
![Page 14: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/14.jpg)
FOUR BIT GRAY CODE TO BINARY CONVERTER –DESIGN
14
INPUT ( GRAY CODE) OUTPUTS (BINARY )
G3 G2 G1 G0 B3 B2 B1 B0
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 1
0 1 0 1 0 1 1 0
0 1 1 0 0 1 0 0
0 1 1 1 0 1 0 1
1 0 0 0 1 1 1 1
1 0 0 1 1 1 1 0
1 0 1 0 1 1 0 0
1 0 1 1 1 1 0 1
1 1 0 0 1 0 0 0
1 1 0 1 1 0 0 1
1 1 1 0 1 0 1 1
1 1 1 1 1 0 1 0
MSB1
+0
+1
+0
+0
1 1 0 0 0
Gray code
Binary code
![Page 15: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/15.jpg)
Puzzles
15
![Page 16: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/16.jpg)
16
![Page 17: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/17.jpg)
![Page 18: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/18.jpg)
![Page 19: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/19.jpg)
19
![Page 20: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/20.jpg)
MIND MAP
20
![Page 21: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/21.jpg)
Summary
Code Converters
Truth tableK-MapExcitation EquationLogic Diagram
![Page 22: Comparators & Code Converter Ppt](https://reader033.fdocuments.net/reader033/viewer/2022061407/55cf8f47550346703b9ab671/html5/thumbnails/22.jpg)
22