Professional Documents
Culture Documents
2
2
Pengaturan
Clock
Input Swith (Up, Down, atau
Reset)
Program
Counter
Program BCD7 Segments
Ouput 7 Segments
Y
Lanjut=?
N
End
Start
Simpan
S(1) <= A(1) xor C(1) xor B(1);
C(2) <= (not A(1) and (B(1) xor C(1) )) or
Simpan
S(2) <= A(2) xor C(2) xor B(2);
C(3) <= (not A(2) and (B(2) xor C(2) )) or
Simpan
S(3) <= A(3) xor C(3) xor B(3);
CO <= (not A(3) and (B(3) xor C(3) )) or
Y
Lanjut=?
N
End
Input Ci
Start
2 bilangan biner
Bilangan Prima =?
Y
LED Menyala
Lanjut=?
N
End
LED Mati