Forum Discussion

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

data type in the current state

i am trying to see my states in the waveform by their names as they are changing, so what i did , i changed the data type in the proparties bar in the waveform for the current state, i changed it to the enum so the changes in the states in the waveform will be changed by their names rather than by state o, 1, 2,..,7 , but as i changed the data type to enum ( just for current state in the waveform) i see the word undifined all the time and simulation result saying node type mismatch..

i am wondering why as the enum has defined the states names in the VHDL codes.

6 Replies

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

    what simulator are you using?

    are you doing an RTL or post place and route simulation?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    then you cannot see the state names, because they have been removed and replaced with binary state encodings, because it is a post place and route test.

    You will need to do an RTL simulation in modelsim (or similar) to see the state names
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanks for the reply, i tried with the ModleSim, but i got a message with the license , i am not sure how to solve it, do i need to run the modlesim sepaertely or use quartus