Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNevertheless, it's legal VHDL code. You didn't tell what crashing of FSM means. I would expect the problem in the state machine code.
P.S.: You also didn't clarify, how you tested that code. What you show is an entity without any output signals that synthesizes to nothing, so you are talking apparently about a ModelSim simulation. I assume, that the variable inputsh ave been stimulated somehow.