module comp(AeqlB,AgrtB,AlessB,A0,A1,B0,B1);
output AeqlB,AgrtB,AlessB;
input A0,A1,B0,B1;
wire A0not,A1not,B0not,B1not,[0:3]E,[0:15]W;
not G1(A0not,A0),
G2(A1not,A10),
G3(B0not,B0),
G4(B1not,B1);
and G5(E[0],A0not,A1not),
G6(E[1],A0not,A1),
G7(E[2],A0,A1not),
G8(E[3],A0,A1);
and G9(W[0],B0not,B1not,E[0]),
G10(W[1],B0not,B1,E[0]),
G11(W[2],B0,B1not,E[0]),
G12(W[3],B0,B1,E[0]),
G13(W[4],B0not,B1not,E[1]),
G14(W[5],B0not,B1,E[1]),
G15(W[6],B0,B1not,E[1]),
G16(W[7],B0,B1,E[1]),
G17(W[8],B0not,B1not,E[2]),
G18(W[9],B0not,B1,E[2]),
G19(W[10],B0,B1not,E[2]),
G20(W[11],B0,B1,E[2]),
G21(W[12],B0not,B1not,E[3]),
G22(W[13],B0not,B1,E[3]),
G23(W[14],B0,B1not,E[3]),
G24(W[15],B0,B1,E[3]);
or G25(AeqlB,W[0],W[5],W[10],W[15]),
G26(AgrtB,W[4],W[8],W[9],W[12],W[13],W[14]),
G27(AlessB,W[1],W[2],W[3],W[6],W[7],W[11]);
endmodule