Could a synchronous counter begins with 2 instead of 0?

Discussion in 'The Projects Forum' started by Mehdi12, Apr 22, 2015.

  1. Mehdi12

    Thread Starter New Member

    Apr 22, 2015
    3
    0
    I am wondering is it possible to design a counter that begins with 010 instead of 000 or 111?
    I actually designed pseudo-random counter and its sequence is: 0,6,2,5,3,1,7,4,
    but I am looking to impose this sequence to start with 2,
    is it possible?
    2,5,3,1,7,4,0,6.
     
  2. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,565
    2,379
    Pre-set value?
    Max.
     
  3. Papabravo

    Expert

    Feb 24, 2006
    10,163
    1,797
    Absolutely possible. In fact using a 4-bit MSI counter to design a state machine, the ability to preset a value is not only desirable, it is essential.
     
  4. Mehdi12

    Thread Starter New Member

    Apr 22, 2015
    3
    0
    thank you
    actually I thought in this solution but how use it without external intervention? I used to use preset to put the number on preset input manually.
     
  5. Papabravo

    Expert

    Feb 24, 2006
    10,163
    1,797
    If you have a machine with 12 states you can number them 0 to 11, or 1 to 12, or 2 to 13, or 3 to 14 or 4 to 15. If you have multiple preset values you can use multiplexers to select among them.
     
  6. Mehdi12

    Thread Starter New Member

    Apr 22, 2015
    3
    0
    I appreciate your helpful feedback.
     
Loading...