Could a synchronous counter begins with 2 instead of 0?

Thread Starter

Mehdi12

Joined Apr 22, 2015
3
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.
 

Papabravo

Joined Feb 24, 2006
21,159
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.
 

Thread Starter

Mehdi12

Joined Apr 22, 2015
3
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.
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.
 

Papabravo

Joined Feb 24, 2006
21,159
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.
 
Top