



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concept of subtraction in digital logic design, focusing on half subtractors and full subtractors. It explains how to create a full subtractor by including the 'borrow in' in the difference and demonstrates the similarity between addition and subtraction logic. The document further discusses the manipulation of subtraction logic to use full adders as full subtractors.
Typology: Slides
1 / 7
This page cannot be seen from the preview
Don't miss anything!




(A-B) A B Bout D 0 0 0 0 0 1 1 1 D = A ⊕ B 1 0 0 1 Bout = A'·B 1 1 0 0
Addition Subtraction
S = A ⊕ B ⊕ Cin D = A ⊕ B ⊕ Bin Cout = A∙B + A∙Cin + B∙Cin Bout = A'∙B + A'∙Bin + B∙Bin
Bout = A'∙B + A'∙Bin + B∙Bin
Bout' = (A+B') ∙ (A+Bin') ∙ (B'+Bin ') Generalized DeMorgan's Theorem
Now Multiply Out the Terms
Bout' = (A∙A∙B')+(A∙B'∙Bin ')+(A∙B'∙B')+(B'∙B'∙Bin ')+(A∙A∙Bin ')+(A∙Bin'∙Bin ')+(A∙B'∙Bin ')+(B'∙Bin'∙Bin ')
Now Remove Redundant Terms Bout' = (A∙B')+(A∙B'∙Bin ')+(A∙Bin ')+(B'∙Bin ') Bout' = (A∙B')+(A∙Bin ')+(B'∙Bin ')
Addition Subtraction
Cout = A∙B + A∙Cin + B∙Cin Bout' = A∙B' + A∙Bin ' + B'∙Bin '
Addition Subtraction
S = A ⊕ B ⊕ Cin D = A ⊕ B ⊕ Bin
S = A ⊕ B ⊕ Cin D = A ⊕ B' ⊕ Bin '