The above circuit converts an input sinusoidal signal to a square wave just using two diodes.The DC voltages represents the peak to peak region of the square wave.Thank you.Just Put the circuit in test in your lab & have fun!!For detailed analysis please feel free to ask questions