Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Tatenda Shoko

C19136815Z

Assignment 1

A digital counter is to be used to count from 0 to 9 in binary, and each count is to be


displayed in decimal on a seven-segment display. You are required to design a digital circuit
that converts binary to seven segment code.
 Develop a truth table for the binary to seven-segment converter. [10]
 Use K-maps to deduce the functions that relates each segment of the seven-segment to
the input binary digits. [15]
 Using logic gates implement the functions in proteus. [25]

Solution

INPUTS OUTPUTS
A B C D a b c d e f g
0 0 0 0 1 1 1 1 1 1 0
0 0 0 1 0 1 1 0 0 0 0
0 0 1 0 1 1 0 1 1 0 1
0 0 1 1 1 1 1 1 0 0 1
0 1 0 0 0 1 1 0 0 1 1
0 1 0 1 1 0 1 1 0 1 1
0 1 1 0 1 0 1 1 1 1 1
0 1 1 1 1 1 1 0 0 0 0
1 0 0 0 1 1 1 1 1 1 1
1 0 0 1 1 1 1 0 0 1 1

Kmap for a
AB\C 00 01 11 10
D
00 1 0 1 1
F= B’D’ + C + BD + A
01 0 1 1 1
11 X X X X
10 1 1 X X
Kmap for b
AB\C 00 01 11 10
D
00 1 1 1 1 F = B’ + C’D’ + CD
01 1 0 1 0
11 X X X X
10 1 1 X X
Kmap for c
AB\C 00 01 11 10
D
00 1 1 1 0 F = C’ + D + B
01 1 1 1 1
11 X X X X
10 1 1 X X

Kmap for d
AB\C 00 01 11 10
D
00 1 0 1 1 F = B’D’ + B’C + BC’D + CD’ + A
01 0 1 0 1
11 X X X X
10 1 1 X X

Kmap for e
AB\C 00 01 11 10
D
00 1 0 0 1 F = B’D’ + CD’
01 0 0 0 1
11 X X X X
10 1 0 X X Kmap for f
AB\C 00 01 11 10
D
00 1 0 0 0 F = C’D’ + BC’ + BD’ + A
01 1 1 0 1
11 X X X X
10 1 1 X X Kmap for g
AB\C 00 01 11 10
D
00 0 0 1 1 F = B’C + BC’ + CD’ + A
01 1 1 0 1
11 X X X X
10 1 1 X X

You might also like