in PSoC 3 and 5 there is a Quadratur Detector component which will work as you expect. For a PSoC 1 you'll have to write your own solution.
I will use the PSOC 3 or 5. The PSOC 1 would not require a board layout.
Thank you all for the responses.