swapping inputs

Thread Starter

vikkie

Joined Dec 20, 2008
9
Hi,
I have to design a circuit usign CMOS transistors to swap 2 inputs.
Can anyone tell me how to do this.

Thanx
 

beenthere

Joined Apr 20, 2004
15,819
What is the nature of the inputs?

If logic level, a pair of AND gates will work.

If analog, a pair of analog switches will do.
 
Last edited:

Thread Starter

vikkie

Joined Dec 20, 2008
9
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.
 

beenthere

Joined Apr 20, 2004
15,819
Then it might be you need some value sensing external logic to steer those inputs. You might just need a flip flop to hold the UP/DOWN state.
 

Thread Starter

vikkie

Joined Dec 20, 2008
9
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.
 
Top