Forum Discussion
3 Replies
- Altera_Forum
Honored Contributor
Hi,
The ASM is a method for designing a FSM: http://en.wikipedia.org/wiki/algorithmic_state_machine Mark. - Altera_Forum
Honored Contributor
thx but it did not helped since from what we learned there is a difference i just can't put my finger on it bu thx any way
- Altera_Forum
Honored Contributor
--- Quote Start --- i am new to vhdl world and we learned at out collge about state machine 2 ind ASM + FSM i did not realy get the diffrence coul u help me to understand it? --- Quote End --- There is no difference. An ASM chart is just an unambiguous way to draw an FSM. What do I mean by unambiguous? Well, unlike drawing an FSM with a bubble diagram, an ASM chart has to have all exits from decision logic shown, i.e., each path of an if-then-else is shown. For an example of code and an ASM chart, look at the SRAM controller discussed in this thread: http://www.alteraforum.com/forum/showthread.php?t=31457 See p29 for the ASM chart, and download the code to see how it codes nicely into VHDL. Cheers, Dave