Hi guys,
I have this exercise about Moore I have to deliver today done but I would like to be sure if it is correct, so if you could take a look and validate my work that'd be great.
Si+1 = (Si + E) mod 5
This a mod 5 counter, on each clock rise Si+1 is calculated incrementing the previous S from the previous clock rise based on value received in E.
This E has 2 bits and can value 1, 2 or 3. Value 0 can't never happen.
At initialization moment, S should be 0 (S0=0)
For example, if E = 2, S values on each clock rise will be: 0,2,4,1,3,0.
E is asynchronous and can change at any moment.
S is synchronous and should be constant during the clock cycle.
The considered value of E to make the transition of each Si is the value just at the rise edge.
So far I have this state table and state diagram below, if someone could just validate if im following the correct path please or give me a clue about what am I doing wrong.
Thank you!
I have this exercise about Moore I have to deliver today done but I would like to be sure if it is correct, so if you could take a look and validate my work that'd be great.
Si+1 = (Si + E) mod 5
This a mod 5 counter, on each clock rise Si+1 is calculated incrementing the previous S from the previous clock rise based on value received in E.
This E has 2 bits and can value 1, 2 or 3. Value 0 can't never happen.
At initialization moment, S should be 0 (S0=0)
For example, if E = 2, S values on each clock rise will be: 0,2,4,1,3,0.
E is asynchronous and can change at any moment.
S is synchronous and should be constant during the clock cycle.
The considered value of E to make the transition of each Si is the value just at the rise edge.
So far I have this state table and state diagram below, if someone could just validate if im following the correct path please or give me a clue about what am I doing wrong.
Thank you!