Selasa, 15 Juni 2010

Seven segment display   7-Segment Displays
Truth Table to Decode Binary into 7-Segment



Decimal
Number
Inputs Outputs
DCBA abcdefg
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
0
1
1
01
1
1
1
1
1
1
1
1
10
0
1
1
1
1
1
0
1
11
1
1
1
1
1
0
1
1
01
1
0
1
1
1
0
1
0
00
1
0
1
0
1
0
0
0
11
1
0
1
1
0
0
1
1
11
1
0
1
1






Layout of 7-segment display 


Karnaugh Mapping for Segment a:
The Truth Table:

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx
Boxing ones:

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx

Red cells are represented by B; this is a 4x2 supercell.

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx

Green cells are represented by D; this is a 2x4 supercell.
So far then we have:

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx

where grey boxes indicate cells included in more that one supercell. The shaded boxes are represented by B+D.
Focusing on the remaining cells with ones:

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx

Blue cells are represented by A.C; this is a 2x2 supercell.

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx

Cyan cells are represented by A'.C'; this is a 2x2 wrap-around supercell.

BA 00  01  11  10 
DC\
 00 1011
 01 0111
 11 xxxx
 10 11xx

All cells are represented by B + D + A.C + A'.C', as shown for segment a.
Karnaugh Mapping for Segment c:
The Truth Table:

BA 00  01  11  10 
DC\
 00 1110
 01 1111
 11 xxxx
 10 11xx
Boxing zeroes:

BA 00  01  11  10 
DC\
 00 1110
 01 1111
 11 xxxx
 10 11xx

The red cells are represented by C'.B.A'; of course the complement is required for the final realization. Thus (C'.B.A')' is the combination of gates that is realized from the Karnaugh mapping of zeroes. Application of De Morgan's theorem results in the combination of gates shown for segment c:
(C'.B.A')' = C + B' + A

Seven segment display   Decoder for segment a
Layout of 7-segment decoder
DCBA a
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
0
1
1
01
1
1
1
1
       
Seven segment display   Decoder for segment b
Layout of 7-segment decoder
DCBA b
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
1
1
1
10
0
1
1
1
Seven segment display   Decoder for segment c
Layout of 7-segment decoder
DCBA c
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
1
0
1
11
1
1
1
1
       
BA 00  01  11  10 
DC\
 00 1110
 01 1111
 11 xxxx
 10 11xx

Karnaugh
Seven segment display   Decoder for segment d
Layout of 7-segment decoder
DCBA d
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
0
1
1
01
1
0
1
1
Seven segment display   Decoder for segment e
Layout of 7-segment decoder
DCBA e
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
0
1
0
00
1
0
1

BA 00  01  11  10 
DC\
 00 1001
 01 0001
 11 xxxx
 10 10xx
 

Seven segment display   Decoder for segment f
Layout of 7-segment decoder
DCBA f
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
1
0
0
0
11
1
0
1
1
 

Seven segment display   Decoder for segment g
Layout of 7-segment decoder
DCBA g
0
1
2
3
45
6
7
8
9
0
0
0
0
00
0
0
1
1
0
0
0
0
11
1
1
0
0
0
0
1
1
00
1
1
0
0
0
1
0
1
01
0
1
0
1
0
0
1
1
11
1
0
1
1

0 komentar:

Posting Komentar