비교기, 비교 회로 (회로,circuit), 대소비교기, 대소비교회로, ...
2진비교기 binary comparator ... binary comparator
2진비교기 binary comparator ... binary comparator
: 두 이진수의 크기를 비교하는 회로.
tmp example from https://youtu.be/Dpba20Fa2wU?si=DxufXMG8dJc6IDXj&t=238
진리표:
이때
C = A B̅
D = A̅ B̅ + A B
E = A̅ B
진리표:
입력 | 출력 | |||
A | B | C (A>B) | D (A=B) | E (A<B) |
0 | 0 | 0 | 1 | 0 |
0 | 1 | 0 | 0 | 1 |
1 | 0 | 1 | 0 | 0 |
1 | 1 | 0 | 1 | 0 |
C = A B̅
D = A̅ B̅ + A B
E = A̅ B
tmp example from
진리표:
회로도:
입력 | 출력 | ||||
A | B | A=B, F1 | A≠B, F2 | A>B, F3 | A<B, F4 |
0 | 0 | 1 | 0 | 0 | 0 |
0 | 1 | 0 | 1 | 0 | 1 |
1 | 0 | 0 | 1 | 1 | 0 |
1 | 1 | 1 | 0 | 0 | 0 |
회로도:
see also 덧셈기,adder