Hello,
LTspice has a phase comparator named "phidet". It*s in the folder [Digital].
The deafult output curernt is 100uA. This current can be set to any other value with Iout=xxx.
See the example? PLL2.asc in the folder Examples from your LTspice installation.
You can download another example from our Yahoo group. It demonstrates that "phidet" is the calssic two FF phase detector.
PHIDET_PFD1.asc
Best regards,
Helmut