How to implement a dynm FSM?

Thread Starter

chiqui

Joined Oct 13, 2015
1
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.

eg:
>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'
>repeat...

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

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

sailorjoe

Joined Jun 4, 2013
365
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?
 
Top