EOR (Ternary Gate): Difference between revisions

From T729 Balanced Ternary Computer
Jump to navigationJump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<p>
<big><b>Ternary XOR</b></big>
<b>Ternary XOR.</b>
[[File:EOR_GATE.png|thumb|Eor Gate Symbol]]
</p>
[[File:BCT_NEOR.png|thumb|BCT NEOR Gate]]


== Uses ==
== Uses ==


Useful as a controllable buffer or negate.
Useful as a controllable Buffer or [[NEG (Ternary Gate)|Negate]].


The [[NEG Ternary Gate|Negated]] form NXOR is used to toggle between add and subtract with an Adder.
The negated form NEOR is useful to toggle between add and subtract modes within an Adder.


== Truth Tables ==
== Truth Tables ==
=== EOR ===
<div class="tt">
<div class="tt">
<table class="tt">
<table class="tt">
<tr>
<tr>
<td class="tt_br tt_bb" colspan="2" rowspan="2">XOR</td>
<td class="tt_br tt_bb" colspan="2" rowspan="2">EOR</td>
<td colspan="3" class="tce"><b>B</b></td>
<td colspan="3" class="tce"><b>B</b></td>
</tr>
</tr>
Line 43: Line 45:


<table class="tt">
<table class="tt">
<tr>
<td colspan="3">EOR</td>
</tr>
<tr>
<tr>
<td class="tt_bb"><b>A</b></td>
<td class="tt_bb"><b>A</b></td>
Line 95: Line 100:
</table>
</table>
</div>
</div>
<hr />
=== NEOR ===
<div class="tt">
<table class="tt">
<tr>
<td class="tt_br tt_bb" colspan="2" rowspan="2">NEOR</td>
<td colspan="3" class="tce"><b>B</b></td>
</tr>
<tr>
<td class="tt_r tt_bb">-</td>
<td class="tt_g tt_bb">0</td>
<td class="tt_b tt_bb">+</td>
</tr>
<tr>
<td rowspan="3"><b>A</b></td>
<td class="tt_r tt_br">-</td>
<td class="tt_b">+</td>
<td class="tt_g">0</td>
<td class="tt_r">-</td>
</tr>
<tr>
<td class="tt_g tt_br">0</td>
<td class="tt_g">0</td>
<td class="tt_g">0</td>
<td class="tt_g">0</td>
</tr>
<tr>
<td class="tt_b tt_br">+</td>
<td class="tt_r">-</td>
<td class="tt_g">0</td>
<td class="tt_b">+</td>
</tr>
</table>
<table class="tt">
<tr>
<td colspan="3">NEOR</td>
</tr>
<tr>
<td class="tt_bb"><b>A</b></td>
<td class="tt_bb"><b>B</b></td>
<td class="tt_bl tt_bb"><b>Y</b></td>
</tr>
<tr>
<td class="tt_r">-</td>
<td class="tt_r">-</td>
<td class="tt_bl tt_b">+</td>
</tr>
<tr>
<td class="tt_r">-</td>
<td class="tt_g">0</td>
<td class="tt_bl tt_g">0</td>
</tr>
<tr>
<td class="tt_r">-</td>
<td class="tt_b">+</td>
<td class="tt_bl tt_r">-</td>
</tr>
<tr>
<td class="tt_g">0</td>
<td class="tt_r">-</td>
<td class="tt_bl tt_g">0</td>
</tr>
<tr>
<td class="tt_g">0</td>
<td class="tt_g">0</td>
<td class="tt_bl tt_g">0</td>
</tr>
<tr>
<td class="tt_g">0</td>
<td class="tt_b">+</td>
<td class="tt_bl tt_g">0</td>
</tr>
<tr>
<td class="tt_b">+</td>
<td class="tt_r">-</td>
<td class="tt_bl tt_r">-</td>
</tr>
<tr>
<td class="tt_b">+</td>
<td class="tt_g">0</td>
<td class="tt_bl tt_g">0</td>
</tr>
<tr>
<td class="tt_b">+</td>
<td class="tt_b">+</td>
<td class="tt_bl tt_b">+</td>
</tr>
</table>
</div>
[[Category:Ternary]]
[[Category:Logic_Gates]]

Latest revision as of 19:01, 24 January 2025

Ternary XOR

Eor Gate Symbol
BCT NEOR Gate

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
+ + +