VHDL Codes for a Phase Detector

D-Flip Flop
ph_det.vhd