SurvivalCraft Wiki
Advertisement

Description (From Recipaedia)

Logic XOR gate. Has two inputs on the sides and one output. The output is 1 when exactly one of the inputs is 1, otherwise it is 0. Can be placed on any surface and rotated to desired orientation.

Crafting

Crafting requires 2 copper ingots and 5 germanium crystals. You get 4 gates.

Logic Xor Gate craft

Hooking It Up

Connections

The output is at the side with the 'pointy' end of the synbol. The inputs are the two sides next to that one. The opposite side has no connection.

XOR hook









Graphical Symbol

Logic XOR gate has 2 inputs [ Labeled in red as A and B ] and 1 output [ A >< B ]

The XOR Gate generates electric current by its output only if ONE of it's inputs are 1.

XOR GATE





Truth Table

Truth Table shows all input combinations and output to each.


Inputs Output
A                B
0 0 0
0 1 1
1 0 1
1 1 0



To demonstrate this, I'm going to use blue to represent 0 and red to represent 1.

XOR00


No electric current is generated





XOR01


Electric current is generated





XOR10


Electric current is generated





XOR11


No electric current is generated


Notes

  • When the output is 0 [Blue] no electric signal is generated.
  • When the output is 1 [Red] electric current is generated.
Advertisement