a difficult control input question

Discussion in 'Homework Help' started by transgalactic, May 8, 2008.

  1. transgalactic

    Thread Starter Active Member

    Apr 29, 2008
    74
    0
    http://s290.photobucket.com/albums/ll279/transgalactic/?action=view&current=IMG_8838.jpg

    the main problem comes when in one input i need to divide the number by 2
    (subtract a zero from the original input)

    while in other control input i need to multiply by two
    (which meens to add a zero to the original input)

    i dont know how to delete or add an output
    when i have a certain control input

    the number of outputs is constant

    what should i do??
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Shifting bits left one place multiplies by two. Right divides by two.
     
  3. transgalactic

    Thread Starter Active Member

    Apr 29, 2008
    74
    0
    but i dont have a shift register.
    i need to implement it using four MUX 4-1 three AND two OR

    how to build it using these components
    ?????
     
Loading...