Skip to content
Digital logic (gates / K-map / truth table) templates

Physics — Logic: 1-bit equality (XNOR)

An XNOR gate as a single-bit comparator (A = B).

Template previewDigital logic (gates / K-map / truth table)
1-bit equalityABG1EQEvaluated: 2 inputs, 1 output, 4 rows — EQ = ¬(A ⊕ B).EQ = ¬(A ⊕ B)

Make it your own.

title "1-bit equality"
type gates
input A at (0,0)
input B at (0,2)
gate XNOR G1 at (3,1)
output EQ at (6,1)
wire A G1
wire B G1
wire G1 EQ