Mt2015 eq2

From HDLBits

truthtable1Previous

Taken from 2015 midterm question 1k

Create a circuit that has two 2-bit inputs A[1:0] and B[1:0], and produces an output z. The value of z should be 1 if A = B, otherwise z should be 0.

Module Declaration

module top_module ( input [1:0] A, input [1:0] B, output z ); 

Write your solution here

Upload a source file...