1Bit Comparator
Truth Table
A | B | F1(A=B) | F2(A≠B) | F3(A>B) | F4(A<B) |
0 | 0 | 1 | 0 | 0 | 0 |
... | ... | ... | ... | ... | ... |
3 Bit Subtractor
Diff - |x - y|
B in - 하위자리에서 꿔온 것
B out - 상위자리에서 꿔온 것
Truth Table
B in | x | y | Diff | B out |
0 | 0 | 0 | 0 | 0 |
0 | 0 | 1 | 1 | 1 |
0 | 1 | 0 | 1 | 0 |
0 | 1 | 1 | 0 | 0 |
1 | 0 | 0 | 1 | 1 |
1 | 0 | 1 | 0 | 1 |
1 | 1 | 0 | 0 | 0 |
1 | 1 | 1 | 1 | 1 |
C i+1= (Ai+Bi)' + (Ai+Bi)'⋅Ci'
= Pi' + Gi'⋅Ci'
S i = Ai ⊕ Bi ⊕ Ci
= (Pi'⋅Gi') ⊕ Ci'
KOCW 디지털 논리회로 강의
'Doc > 컴퓨터' 카테고리의 다른 글
논리회로 SR NOR Latch. SR NAND Latch. Gated SR Latch (0) | 2022.02.02 |
---|---|
논리회로 Combinational/Sequential Logic. Flip-Flop. (0) | 2022.01.30 |
논리회로 Multiplexer. BCD Code. 3 State Buffer (0) | 2022.01.30 |
논리회로 8 Bit CLA. Overflow (0) | 2022.01.29 |