Threshold Logic Circuits
Collection
Boolean gates, voting functions, modular arithmetic, and adders as threshold networks.
•
269 items
•
Updated
•
1
2x2 Baugh-Wooley signed multiplier. Handles two's complement multiplication directly.
Inputs: A[1:0], B[1:0] (4 inputs, two's complement)
Outputs: P[3:0] (4 outputs, two's complement)
A range: -2 to +1
B range: -2 to +1
P range: -2 to +4
Handles sign extension by:
Avoids separate sign handling logic.
| A | B | P |
|---|---|---|
| -2 | -2 | +4 |
| -2 | +1 | -2 |
| +1 | -2 | -2 |
| +1 | +1 | +1 |
| Inputs | 4 |
| Outputs | 4 |
| Neurons | 10 |
| Layers | 3 |
| Parameters | 44 |
| Magnitude | 42 |
MIT