Added slave scan state machine graph.
This commit is contained in:
parent
300a11901c
commit
b6a01fb1c9
|
|
@ -5,18 +5,29 @@
|
|||
#-----------------------------------------------------------------------------
|
||||
|
||||
GRAPHS := \
|
||||
fsm_slave_conf.ps \
|
||||
fsm_pdo_mapping.ps \
|
||||
fsm_pdo_config.ps \
|
||||
fsm_master.ps \
|
||||
fsm_coe_map.ps
|
||||
fsm_slave_conf \
|
||||
fsm_slave_scan \
|
||||
fsm_pdo_mapping \
|
||||
fsm_pdo_config \
|
||||
fsm_master \
|
||||
fsm_coe_map
|
||||
|
||||
all: $(GRAPHS)
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
PS = $(addsuffix .ps,$(GRAPHS))
|
||||
PDF = $(addsuffix .pdf,$(GRAPHS))
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
||||
all: $(PDF)
|
||||
|
||||
%.ps: %.dot
|
||||
dot -Tps -o $@ $<
|
||||
|
||||
%.pdf: %.ps
|
||||
ps2pdf $<
|
||||
|
||||
clean:
|
||||
@rm -f *.ps
|
||||
@rm -f *.ps *.pdf
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
|
||||
/* $Id$ */
|
||||
|
||||
digraph slavescan {
|
||||
size="7,9"
|
||||
center=1
|
||||
ratio=fill
|
||||
|
||||
start -> address [weight=10]
|
||||
|
||||
address -> error
|
||||
address -> state [weight=10]
|
||||
|
||||
state -> error
|
||||
state -> base [weight=10]
|
||||
|
||||
base -> error
|
||||
base -> datalink [weight=10]
|
||||
|
||||
datalink -> error
|
||||
datalink -> eeprom_size [weight=10]
|
||||
|
||||
eeprom_size -> error
|
||||
eeprom_size -> eeprom_data [weight=10]
|
||||
|
||||
eeprom_data -> error
|
||||
eeprom_data -> end [weight=10]
|
||||
}
|
||||
Loading…
Reference in New Issue