Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] State Table Compiler

2009-09-16 by Chuck Hackett

> From: David Kelly
> ....
> Perhaps you should consider installing Cygwin so as to have yacc and
> lex to run your own state machine compiler under Windows?

That's the way I'm leaning at the moment.

In my intended usage the State Machine capabilities (events, actions, etc.)
are fixed when the AVRs are installed in the field.  The AVRs are
controlling small scale ride-on railroad signals.  Each AVR is the same but
implements different logic based on which track segments it is connected to,
the particular signals it is controlling, etc.

When the AVR nodes are configured different State Tables are downloaded to
them over a network based on the tasks, rules, etc. that they need to
implement due on their location, inputs assigned to them, outputs they
drive, etc.  "Moves and Changes", corrections, etc. to the signal system
logic are made by replacing the state table, no "SM Engine" code changes.
 
Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.