Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

(OT) Hierarchical State Machines

5 views
Skip to first unread message

Helmut Giese

unread,
Mar 5, 2007, 6:11:34 AM3/5/07
to
Hello out there,
what would be a good news group to talk about Hierarchical State
Machines?
Any idea will be greatly appreciated.
Helmut Giese

suchenwi

unread,
Mar 5, 2007, 6:19:03 AM3/5/07
to
http://wiki.tcl.tk/8363 has:

proc statemachine states {
array set S $states
proc goto label {
uplevel 1 set this $label
return -code continue
}
set this [lindex $states 0]
while 1 {eval $S($this)}
rename goto {}
}

The [goto] command is global, but as long as you use distinct state
labels, it should work.. In 8.5, one could use states directly as a
dict, but even in this version, S is local.

Jonathan Bromley

unread,
Mar 5, 2007, 8:19:45 AM3/5/07
to

Are you more worried about hardware, or software?

comp.lang.vhdl is likely to offer firmly held opinions,
albeit not very software-friendly ones.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan...@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.

Gerald W. Lester

unread,
Mar 5, 2007, 9:01:15 AM3/5/07
to
Helmut Giese wrote:
> Hello out there,
> what would be a good news group to talk about Hierarchical State
> Machines?

I assume you want to talk about implementing them?

If so, have you checked out what is in TclLib (grammar::fa)?

Also I recall announcements, the last of which was about a year ago, of an
FSA package on c.l.t.

--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+

Helmut Giese

unread,
Mar 5, 2007, 4:26:42 PM3/5/07
to
Thanks for your feedback. Looks like I might (try to) talk about it
right here :)
I started a new thread.
Best regards
Helmut Giese
0 new messages