Mike,
I'm curious about your solution. It looks like you have something in
mind where you code a 25 state FSM but simplify it using the local
variables and enumerations you mention? I would be interested in
seeing such a solution since seeing different solutions to the same
problem would help me gain perspective on the language.
Thanks,
Roger
Mike Treseler <
[email protected]> wrote in message news:<
[email protected]>...
> Roger Dahl wrote:
> > Mike,
> >
> > Thank you for your reply.
> >
> > If FSM A and FSM B have 5 states each, would the design you're
> > suggesting cause the single FSM to have 5 x 5 = 25 states? If not,
> > could you describe the design more closely?
>
> Yes, but I visualize it as a process with two
> local variables. If one variable is a counter,
> I would declare it as unsigned. If it is
> pure state, I would declare a type enumeration.
>
> After reading your reply,
> > I researched synchronizers, but I am unsure how they can help in this
> > design.
>
>
> A three bit (two register) shift register is
> standard practice for any input not already
> synchronized to the system clock.
>
> -- Mike Treseler