Forum Discussion

sugievlos's avatar
sugievlos
Icon for New Contributor rankNew Contributor
4 years ago

Converting a state diagram into code

Hi everyone! I'm very new in VHDL, and for a project I need to use an IR remote control.

I have a state diagram that helped me writing the code, but there's some things on it that I don't understand at all, could anyone help me?

I'd like to translate this ( this sixth and seventh states) into VHDL code :

Thanks again!!

2 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    So perhaps you can show what code for this you've written so far and explain what exactly about these states you are stuck on since it seems like you've coded other states without problems.

    Two processes for a state machine: the next state code and the state outputs when in a particular state.