[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] state machine.
From: |
Bob Paddock |
Subject: |
Re: [avr-gcc-list] state machine. |
Date: |
Thu, 1 Jan 2004 13:33:41 -0500 |
User-agent: |
KMail/1.5.4 |
> Now, I know how I would implement this in asm, and I know how I
> would implement this in C on a big CPU with an operating system.
> What does everyone else do?
SMG is a tool used to generate state machine framework code from a terse set
of directives embedded directly in the input source code file. This tool will
also generate GraphViz graphical description and Spin/Promela modeling
output.
http://sourceforge.net/projects/smg/
If using C++:
THE BOOST C++ METAPROGRAMMING LIBRARY
http://www.boost.org/libs/mpl/doc/paper/html/example.html
I wish I could get it to make C code.
or
http://sourceforge.net/projects/smc/
There is also the language Esterel that is good for solving state machine
problems, it will produce C code that I've gotten to work on the AVR.
>Heck, it's easily drawn in pencil on a 14x17" piece
>of paper.
It is easy to write a .DOT file hand have GraphViz draw it for you:
http://www.graphviz.org/
--
http://www.softwaresafety.net/
http://www.unusualresearch.com/ http://www.bpaddock.com/