Logic

XOR Block

Logical XOR gate - output is 1 if inputs are different

Open XOR in BlockWerk →

# XOR Gate Block

Overview

The XOR (Exclusive OR) gate outputs 1 when an ODD number of inputs are true.

Truth Table (2 inputs)

| Input 1 | Input 2 | Output | | ------- | ------- | ------ | | 0 | 0 | 0 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 0 |

Truth Table (3 inputs)

| A | B | C | Output | | --- | --- | --- | ------ | | 0 | 0 | 0 | 0 | | 0 | 0 | 1 | 1 | | 0 | 1 | 0 | 1 | | 0 | 1 | 1 | 0 | | 1 | 0 | 0 | 1 | | 1 | 0 | 1 | 0 | | 1 | 1 | 0 | 0 | | 1 | 1 | 1 | 1 |

Parameters

Number of Inputs

Number of inputs to the XOR gate (2-10).

Default: 2

Logic

Key Property

Typical Applications

See Also