Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- 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