Counter Circuit With A Control Input Design Problem

Discussion in 'Homework Help' started by thefunk, Jan 13, 2008.

  1. thefunk

    Thread Starter New Member

    Jan 13, 2008
    3
    0
    hi,
    my question is like that design a counter circuit with a control input ( in addition to the clock input ) that counts odd numbers when the control input is high and counts even numbers when the control input is low.

    i have the state tables and k-maps, but i couldn't design the circuit. i'm hopeless, i have to send my report till 4 pm..
     
  2. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    Say you have a 4 bit binary number.

    Consider what bit in the 4-bit number is the same for all odd numbers and what bit in the 4-bit number is the same for all even numbers.

    hgmjr
     
  3. thefunk

    Thread Starter New Member

    Jan 13, 2008
    3
    0
    3-bit 000 to 111
     
  4. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    Which bit determines odd/even? Spot this and you should be able to get started.
     
  5. scubasteve_911

    Senior Member

    Dec 27, 2007
    1,202
    1
  6. thefunk

    Thread Starter New Member

    Jan 13, 2008
    3
    0
    when the control input is high (1) the circiut counts odd numbers,when the control input is low (0) the circuit counts even numbers.

    i designed before an odd number counter. Inout is provided by the clock. but here the control input is bothering me :)
     
  7. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    FSM stands for Finite State Machine in scubasteve_911's reply.

    hgmjr
     
Loading...