`timescale 1ns/1ns module comparator_4( input [3:0] A , input [3:0] B , output wire Y2 , //A>B output wire Y1 , //A=B output wire Y0 //A<B ); // A=B xnor xnor1(_A0XN_B0,A[0],B[0]); xnor xnor2(_A1XN_B1,A[1],B[1]); xnor xnor3(_A2XN_B2,A[2],B[2]); xnor xnor4(_A3XN_B3,A[3],B[3]); and and1(Y1, _A0X...