Actually these are 2 non-overlapping input signals connected to 2 differential inputs of a up/down counter with 2 differential outputs.After counting up to some value these signals should swap so that the counter start counting down.
AND gate would not work in this case.I am simulating it with a MUX. Perhaps it might work.
I have tried different options using MUX.but still i am experiencing ringing effects which deteriorates the whole output.
I wonder how i can use the flip flop to swap these differential inputs.