Verilog implements orthogonal square wave phase discrimination program, which has been applied in engineering