Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
18 years ago

State Machine enumeration with Signal Tap II

I would like to list the states of his one-hot state machine with the Mnemonic labels for the states (i.e. IDLE, LOAD, WAIT, etc..) when I look at the state machine in Signal Tap. The documentation in volume 3 of the Quartus II Handbook describes using mnemonics for bussed signals.

Has anyone used Mnemonics for state machine bits?

-Steve Reames

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I haven't tried to optimize Signal Tap, but from my experience with signal tapping state machines: If you do real enumerated states, where there is a new data type with the list of states as possible values, it shows up in signal tap as each possible state is a discrete signal to tap. Sort of annoying, but not enough for me to try to smooth out Signal Tap. If you declare a standard vector data type for the state switch variable, you can tap that. You can still get what looks like an enumerated state machine by declaring constants for each state value. Those two approaches are what I do; maybe a signal tap guru knows a tool fix.