K
Ken Cecka
I just spent all afternoon trying to figure out why isimwave (the xilinx simluation waveform viewer) was drawing my state machine value in red for certain states.
I believe I've finally tracked it down: if my state name contains the letter 'X', xilinx draws it in red. For example, with the following states:
TYPE state_type IS ( STATE1, STATE2X );
Any time a signal has the value STATE1, it will be drawn in green. If it has the value STATE2X, it will be drawn in red.
Posting this partly to see if others can confirm this behavior and/or give a better explanation, and partly to get it documented somewhere for the next poor soul who wonders what's causing there state machine to go into an invalid state.
Also, I'm guessing this should be considered a bug in isimwave - is there anything in the language specification that says you can't use the letter X in your enumerated state names?
Ken
I believe I've finally tracked it down: if my state name contains the letter 'X', xilinx draws it in red. For example, with the following states:
TYPE state_type IS ( STATE1, STATE2X );
Any time a signal has the value STATE1, it will be drawn in green. If it has the value STATE2X, it will be drawn in red.
Posting this partly to see if others can confirm this behavior and/or give a better explanation, and partly to get it documented somewhere for the next poor soul who wonders what's causing there state machine to go into an invalid state.
Also, I'm guessing this should be considered a bug in isimwave - is there anything in the language specification that says you can't use the letter X in your enumerated state names?
Ken