Physics — Logic: 1-bit equality (XNOR)
An XNOR gate as a single-bit comparator (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
An XNOR gate as a single-bit comparator (A = B).
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