You are on page 1of 5

Ex-3 BCD 8 4-2-1 2421

ABCD IJKL PQRS WXYZ


0000 xxxx xxxx xxxx
0001 xxxx xxxx xxxx
0010 xxxx xxxx xxxx
0011 0000 0000 0000
0100 0001 0111 0001
0101 0010 0110 0010
0110 0011 0101 0011
0111 0100 0100 0100
1000 0101 1011 1011
1001 0110 1010 1100
1010 0111 1001 1101
1011 1000 1000 1110
1100 1001 1111 1111
1101 xxxx Xxxx xxxx
1110 xxxx Xxxx xxxx
1111 xxxx Xxxx xxxx
8 4-2-1 BCD Ex-3 2421
ABCD IJKL PQRS WXYZ
0000 0000 0011 0000
0001 xxxx xxxx xxxx
0010 xxxx xxxx xxxx
0011 xxxx xxxx xxxx
0100 0100 0111 0100
0101 0011 0110 0011
0110 0010 0101 0010
0111 0001 0100 0001
1000 1000 1011 1110
1001 0111 1010 1101
1010 0110 1001 1100
1011 0101 1000 1011
1100 xxxx xxxx xxxx
1101 xxxx xxxx xxxx
1110 xxxx xxxx xxxx
1111 1001 1100 1111
2421 BCD Ex-3 8 4-2-1
ABCD IJKL PQRS WXYZ
0000 0000 0011 0000
0001 0001 0100 0111
0010 0010 0101 0110
0011 0011 0110 0101
0100 0100 0111 0100
0101 0101 1000 1011
0110 0110 1001 1010
0111 0111 xxxx 1001
1000 0010 0101 0110
1001 0011 0110 0101
1010 0100 0111 0100
1011 0101 1000 1011
1100 0110 1001 1010
1101 0111 xxxx 1001
1110 1000 xxxx 1000
1111 1001 xxxx 1111
BCD Ex-3 8 4-2-1 2421
ABCD IJKL PQRS WXYZ
0000 0011 0000 0000
0001 0100 0111 0001
0010 0101 0110 0010
0011 0110 0101 0011
0100 0111 0100 0100
0101 1000 1011 0101
0110 1001 1010 1100
0111 1010 1001 1101
1000 1011 1000 1110
1001 1100 1111 1111
1010 xxxx 1110 xxxx
1011 xxxx 1101 xxxx
1100 xxxx 1100 xxxx
1101 xxxx xxxx xxxx
1110 xxxx xxxx xxxx
1111 xxxx xxxx xxxx
positive, 1 means negative)...so lets say ur doing 00 - 01...that gives u a difference of -1...in
binary that's 101 in this case (001 if it had been positive 1, but the 1 at the end tells u its
negative...yes i know...101 in binary could also mean 5...but in this case that bit is there to show
negative versus positive)

Inputs Outputs

A1 A0 B1 B0 D2 D1 D0

0000000
0001101
0010110
0011111
0100001
0101000
0110101
0111110
1000010
1001001
1010000
1011101
1100011
1101010
1110001
1111000

so there u have it...the truth table...now u have ur three outputs...each plotted against four
inputs...the next step would be to do the individual K-map for each output...so lets get on that
one...LETS GIT R' DONE

D2 K-map

A1/A0 00 01 11 10
B1/B0
00 0 0 0 0
01 1 0 0 0
11 1 1 0 1
10 1 1 0 0

that's the K-map for D2...grouping the 1s together and adding them up (i'm assuming u know
how to do that cuz i dont feel like explaining that **** right now)...

D2 = A1' B1 + A0' B1 B0 + A0' A1' B0

just do the SAME EXACT THING for D1 and D0 and you'll get ur answer...ur gonna get an
expression for D1 and D0, just like u just did for D2...and then ur gonna have this circuit in terms

You might also like