Boolean help. adder and subtractor

  • Thread starter Thread starter david90
  • Start date Start date
  • Tags Tags
    Adder
Click For Summary
A Boolean circuit with four inputs (a, b, cin, and K) operates as an adder when K=0 and as a subtractor when K=1. To design this circuit, one can create a truth table or use multiplexing techniques to switch between the adder and subtractor formulas based on the value of K. The discussion highlights the importance of understanding the Boolean equations for both operations and suggests simplification through Boolean algebra. Additionally, the conversation touches on the concept of two's complement for subtraction, indicating that subtraction can be achieved by adding the complement of the subtrahend. The overall focus is on deriving the correct Boolean expressions for the desired functionality of the circuit.
  • #31
Cliff,

It's even easier just to use the [ code ] tag.

- Warren
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
27K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
5
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K