Full Subtractor Chip

Abstraction and Implementation of Full Subtractor Chip in Hardware Design Language and Java™.

Full Subtractor Chip

Full Subtractor chip is used to subtract 3-bits.

Chip name: FullSubtractor
Inputs: a, b, c
Outputs: diff, borrow
Function: diff = LSB of a - b - c
          borrow = MSB of a - b - c
Abstraction of Full Subtractor Chip - Representation, Implementation and Truth Table

Implementation of Full Subtractor Chip in HDL

The function in the above abstraction can help in the implementation of Full Subtractor Chip.

diff = a XOR b XOR c

borrow = (a' AND b) OR (b AND c) OR (a' AND c)

Implementation of Full Subtractor Chip in Java™

Similar to the Implementation in HDL

Last updated