How to implement a dynm FSM?

Thread Starter


Joined Oct 13, 2015
Hi all, I'm taking my first steps with Max plus II and the world of electronics.
I'm having trouble developing my school-project trying to figure out how to implement a circuit that tells whether an input-sequence is correct or not according to another dynamic-generated sequence.

I know how to implement a FSM that will recognize an input-sequence according to a given/static sequence... the problem comes, like i said, when it's dynamic.

>having the sequence '0101'
>if the user input is '0101' (with buttons)
>then the sequence will become (somehow, it doesn't matter) bigger like '01011'

I have no idea how to implement something like this...

sorry if my english was not bad or my post was confussing


Joined Jun 4, 2013
If you know about FSM's, you know that you can include "Don't Care" inputs. So you can create a state machine that only looks at the first four inputs, then when successful, it moves to another state machine that looks at five inputs, and so on. Does that help?