swapping inputs

Discussion in 'Homework Help' started by vikkie, Dec 23, 2008.

  1. vikkie

    Thread Starter New Member

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

    Thanx
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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: Dec 24, 2008
  3. vikkie

    Thread Starter New Member

    Dec 20, 2008
    9
    0
    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.
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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.
     
  5. vikkie

    Thread Starter New Member

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