LogisimRevisited

Components / Gates

Even Parity Gate in Logisim

IEEE rectangular parity box (labeled 2k) that outputs 1 when an even number of active inputs (0, 2, 4, ...) are High (1).

2k
Default settings, facing east. Pins are the dots.
LibraryGates
Type nameEven Parity
Pins and defaultsin0..inN (-50, ±10), out0 (0, 0), width 1..32, inputs 3 (2..8)

Try it in the app

How the Even Parity Works in Logisim

The Even Parity gate (drawn as a square IEEE symbol labeled 2k with 3 inputs by default) outputs High (1) whenever an even number of its active inputs—including zero inputs—are High (1).

It computes the logical complement of the Odd Parity gate, equivalent to an XNOR reduction across all connected inputs. If any active input is Error (E) or all inputs are floating (Z), the gate outputs E.

Tip: Use an Even Parity gate at the receiver end of a communication link to verify that the data bits plus the parity bit contain an even number of 1s.

Even Parity Pins & Pinout

PinDirectionWidthLocation & Role
in0 .. in(N-1)Input (Left edge)1–32 bitsLocated at x = -50 (default 3 inputs). Configurable from 2 to 8 inputs.
out0 (out)Output (Right edge)1–32 bitsLocated at (0, 0). Outputs 1 when an even number of active inputs are 1.

Even Parity Truth Table & Behavior

3-Input Even Parity truth table
in0in1in2Number of 1sOutput (out0)
0000 (even)1
0011 (odd)0
0112 (even)1
1113 (odd)0

Related Circuits & Components