MUL (Ternary Gate): Difference between revisions
From TernaryWiki
Jump to navigationJump to search
No edit summary |
m MrDyne moved page EOR (Ternary Gate) to MUL (Ternary Gate) without leaving a redirect: Rename. Ternary XOR is actual Multiply by -1, 0, 1. |
||
(No difference)
| |||
Revision as of 13:24, 10 February 2026
Ternary XOR
Uses
Useful as a controllable Buffer or Negate.
The negated form NEOR is useful to toggle between add and subtract modes within an Adder.
Truth Tables
EOR
| EOR | B | |||
| - | 0 | + | ||
| A | - | - | 0 | + |
| 0 | 0 | 0 | 0 | |
| + | + | 0 | - | |
| EOR | ||
| A | B | Y |
| - | - | - |
| - | 0 | 0 |
| - | + | + |
| 0 | - | 0 |
| 0 | 0 | 0 |
| 0 | + | 0 |
| + | - | + |
| + | 0 | 0 |
| + | + | - |
NEOR
| NEOR | B | |||
| - | 0 | + | ||
| A | - | + | 0 | - |
| 0 | 0 | 0 | 0 | |
| + | - | 0 | + | |
| NEOR | ||
| A | B | Y |
| - | - | + |
| - | 0 | 0 |
| - | + | - |
| 0 | - | 0 |
| 0 | 0 | 0 |
| 0 | + | 0 |
| + | - | - |
| + | 0 | 0 |
| + | + | + |