Forum Discussion
Altera_Forum
Honored Contributor
15 years agocombining state machines to a single bdf
hello i'm doing a university project that involves the back lights of a ford thunderbird. i have three separate state machines: one for left & right turns one for break, break+left tur...
Altera_Forum
Honored Contributor
15 years agoIf I understand correctly what you mean, you need to gate the turn signals before the state machine.
Say you rename iL the signal coming from turn left input pin and sL the signal to the state machine. In your current design they are the same. You must gate iL with the h signal, using an AND and a NOT gate. sL = iL AND (NOT h)