Académique Documents
Professionnel Documents
Culture Documents
TD 002/2020
Exercice 02 : Décodeur BCD (Binary code to decimal)
Réaliser le circuit logique, qui affiche un nombre entier K de 4 bits sur un afficheur 7
segments, sans et en utilisant un décodeur.
K1 C A
K2 I B
R C
K K3 C D
U E
K4
I F
T G
Solution :
Nous avons 4 variables d’entrée, selon la valeur du nombre K et 7 sorties donc 7 équations
logiques à trouver.
K1 K2 K3 K4 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 1 0 1 1
Automatismes et réseaux d’information
TD 002/2020
Les équations logiques de fonctionnement :
𝑨 = 𝑲𝟏 𝑲𝟐 𝑲𝟒 + 𝑲𝟏 𝑲𝟐 𝑲𝟒 + 𝑲𝟏 𝑲𝟑 + 𝑲𝟏𝑲𝟐 𝑲𝟑
Automatismes et réseaux d’information
TD 002/2020
L’équation du segment B:
CD 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒
AB 0 0 0 1 1 1 1 0
𝑲𝟏 𝑲𝟐
1 1 1 1
0 0
𝑲𝟏𝑲𝟐
1 0 1 0
0 1
𝑲𝟏 𝑲𝟐
0 0 0 0
1 1
𝑲𝟏 𝑲𝟐
1 1 0 0
1 0
𝑩 = 𝑲𝟏 𝑲𝟐 + 𝑲𝟏 𝑲𝟑 𝑲𝟒 + 𝑲𝟐 𝑲𝟑 + 𝑲𝟏𝑲𝟑𝑲𝟒
Automatismes et réseaux d’information
TD 002/2020
L’équation du segment C:
K3 K4 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒
K1 K2 0 0 0 1 1 1 1 0
𝑲𝟏 𝑲𝟐
1 1 1 0
0 0
𝑲𝟏𝑲𝟐
1 1 1 1
0 1
𝑲𝟏 𝑲𝟐
0 0 0 0
1 1
𝑲𝟏 𝑲𝟐
1 1 0 0
1 0
𝑪 = 𝑲𝟏 𝑲𝟐 + 𝑲𝟏 𝑲𝟒 + 𝑲𝟐 𝑲𝟑
Automatismes et réseaux d’information
TD 002/2020
L’équation du segment D:
K3 K4 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒
K1 K2 0 0 0 1 1 1 1 0
𝑲𝟏 𝑲𝟐
1 0 1 1
0 0
𝑲𝟏𝑲𝟐
0 1 0 1
0 1
𝑲𝟏 𝑲𝟐
0 0 0 0
1 1
𝑲𝟏 𝑲𝟐
1 1 0 0
1 0
𝑫 = 𝑲𝟏 𝑲𝟐𝑲𝟑𝑲𝟒 + 𝑲𝟏 𝑲𝟑 𝑲𝟒 + 𝑲𝟏 𝑲𝟐 𝑲𝟑 + 𝑲𝟐 𝑲𝟑 𝑲𝟒 + 𝑲𝟏𝑲𝟐 𝑲𝟑
Automatismes et réseaux d’information
TD 002/2020
L’équation du segment E:
K3 K4 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒
K1 K2 0 0 0 1 1 1 1 0
𝑲𝟏 𝑲𝟐
1 0 0 1
0 0
𝑲𝟏𝑲𝟐
0 0 0 1
0 1
𝑲𝟏 𝑲𝟐
0 0 0 0
1 1
𝑲𝟏 𝑲𝟐
1 0 0 0
1 0
𝑬 = 𝑲𝟏 𝑲𝟑 𝑲𝟒 + 𝑲𝟐 𝑲𝟑 𝑲𝟒
Automatismes et réseaux d’information
TD 002/2020
L’équation du segment F:
K3 K4 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒
K1 K2 0 0 0 1 1 1 1 0
𝑲𝟏 𝑲𝟐
1 0 0 0
0 0
𝑲𝟏𝑲𝟐
1 1 0 1
0 1
𝑲𝟏 𝑲𝟐
0 0 0 0
1 1
𝑲𝟏 𝑲𝟐
1 1 0 0
1 0
𝑭 = 𝑲𝟏 𝑲𝟑 𝑲𝟒 + 𝑲𝟏 𝑲𝟐 𝑲𝟑 + 𝑲𝟏 𝑲𝟐 𝑲𝟑+𝑲𝟏 𝑲𝟐 𝑲𝟒
Automatismes et réseaux d’information
TD 002/2020
L’équation du segment G:
K3 K4 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒 𝑲𝟑 𝑲𝟒
K1 K2 0 0 0 1 1 1 1 0
𝑲𝟏 𝑲𝟐
0 0 1 1
0 0
𝑲𝟏𝑲𝟐
1 1 0 1
0 1
𝑲𝟏 𝑲𝟐
0 0 0 0
1 1
𝑲𝟏 𝑲𝟐
1 1 0 0
1 0
Si l’on veut utiliser un décodeur, nous devons utiliser directement la table de vérité et
remplacer les valeur avec les sorties activées de ce dernier :
K1 K2 K3 K4 A B C D E F G
0 0 0 0 S0 S0 S0 S0 S0 S0 0
0 0 0 1 0 S1 S1 0 0 0 0
0 0 1 0 S2 S2 0 S2 S2 0 S2
0 0 1 1 S3 S3 S3 S3 0 0 S3
0 1 0 0 0 S4 S4 0 0 S4 S4
0 1 0 1 S5 0 S5 S5 0 S5 S5
0 1 1 0 S6 0 S6 S6 S6 S6 S6
0 1 1 1 S7 S7 S7 0 0 0 0
1 0 0 0 S8 S8 S8 S8 S8 S8 S8
1 0 0 1 S9 S9 S9 S9 0 S9 S9
Automatismes et réseaux d’information
TD 002/2020
A = S0 + S2 + S3 + S5 + S6 + S7 + S8 + S9
B = S0 + S1 + S2 + S3 +S4+ S7 + S8 + S9
C = S0 + S1 + S3 + S4 + S5 + S6 + S7 + S8 + S9
D = S0 + S2 + S3 + S5 + S6 + S8 + S9
E = S0 + S2 + S6 + S8
F = S0 + S4 + S5 + S6 + S8 + S9
G = S2 + S3 + S4 + S5 + S6 + S8 + S9