Y2=AB;//greater than. if (A>B). Y4=1;. else ... Verilog does not have the equivalent of NAND or NOR operator, their funstion is ...
www.utdallas.edu