EXOR (Exclusive OR)

N-input logical exclusive OR primitive.

GATE

Model

I[1] I[n] EXOR Q

Truth Table

Simic uses a 4-value logic system (0, 1, X, Z). For EXOR gates, the output is 1 if an odd number of inputs are 1. If any input is X or Z, the output is X.

Input A Input B Output Q
0 0 0
0 1 1
1 0 1
1 1 0
X X
Z X

Boolean Description

Q = I[1] ⊕ I[2] ⊕ ... ⊕ I[n]

Hazards

Restrictions

Equivalent Type Statement

Type=EXOR i=I[1:1–32767] o=Q