fpga based analog zero crossing detection not tested yet