← ProblemsCircuits / Combinational Logic / Basic Gates
Two-bit equality
64%basicsvectorsBuild a circuit with two 2-bit inputs A[1:0] and B[1:0] and a single output z. The output should be 1 when A and B are equal, and 0 otherwise.
Build a circuit with two 2-bit inputs A[1:0] and B[1:0] and a single output z. The output should be 1 when A and B are equal, and 0 otherwise.