Added DOT graph for slave configuration FSM.
authorFlorian Pose <fp@igh-essen.com>
Mon, 05 Mar 2007 14:51:53 +0000
changeset 614 1e74a0212418
parent 613 bf28ede88c70
child 615 cde783147040
Added DOT graph for slave configuration FSM.
documentation/graphs/Makefile
documentation/graphs/slave_conf.dot
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/documentation/graphs/Makefile	Mon Mar 05 14:51:53 2007 +0000
@@ -0,0 +1,17 @@
+#-----------------------------------------------------------------------------
+#
+# $Id$
+#
+#-----------------------------------------------------------------------------
+
+GRAPHS := slave_conf.ps
+
+all: $(GRAPHS)
+
+%.ps: %.dot
+	dot -Tps -o $@ $<
+
+clean:
+	@rm -f *.ps
+
+#-----------------------------------------------------------------------------
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/documentation/graphs/slave_conf.dot	Mon Mar 05 14:51:53 2007 +0000
@@ -0,0 +1,54 @@
+digraph slaveconf {
+    size="7,9"
+    center=1
+	ratio=fill
+
+    enter_sync [shape=point,label=""]
+    enter_fmmu [shape=point,label=""]
+    enter_sdoconf [shape=point,label=""]
+    enter_mapconf [shape=point,label=""]
+
+    start -> init
+    init -> init
+    init -> enter_sync
+    init -> clear_fmmus [label="has FMMUs"]
+    clear_fmmus -> clear_fmmus
+    clear_fmmus -> error
+    clear_fmmus -> enter_sync
+    enter_sync -> end [label="INIT req."]
+    enter_sync -> preop
+    enter_sync -> sync [label="SMs to configure"]
+    sync -> sync
+    sync -> error
+    sync -> preop
+    preop -> preop
+    preop -> error
+    preop -> end [label="PREOP req."]
+    preop -> enter_fmmu
+    preop -> sync2 [label="more SMs"]
+    sync2 -> sync2
+    sync2 -> error
+    sync2 -> enter_fmmu
+    enter_fmmu -> enter_sdoconf
+    enter_fmmu -> fmmu [label="FMMUs to configure"]
+    fmmu -> fmmu
+    fmmu -> error
+    fmmu -> enter_sdoconf
+    enter_sdoconf -> enter_mapconf
+    enter_sdoconf -> sdoconf [label="SDOs to configure"]
+    sdoconf -> sdoconf
+    sdoconf -> error
+    sdoconf -> enter_mapconf
+    enter_mapconf -> mapconf [label="alternative PDO mapping"]
+    enter_mapconf -> saveop
+    mapconf -> mapconf
+    mapconf -> error
+    mapconf -> saveop
+    saveop -> saveop
+    saveop -> error
+    saveop -> end [label="SAVEOP req."]
+    saveop -> op
+    op -> op
+    op -> error
+    op -> end
+}