fiji_phases_overview.tex 1.54 KB
Newer Older
1
2
3
4
5
6
7
8
9
\begin{tikzpicture}
    \tikzstyle{phase}=[rectangle,draw=black,anchor=east,node distance=2.5cm,minimum width=2.7cm]
    \tikzstyle{txt}=[rectangle,anchor=south,text width=2cm,text centered,node distance=1cm,font=\fontsize{8}{8}\selectfont]
    \tikzstyle{line} = [draw, thick, -latex']
    \node [phase,dashed,fill=orange!20] (conf)    {CONF};
    \node [txt,above of=conf] ()  {Receive\\Configuration};
    \node [phase,dashed,fill=blue!20,right of=conf]   (wt)      {WAIT};
    \node [txt,above of=wt] ()  {Wait for Trigger};
    \node [phase,dashed,fill=red!20,right of=wt]    (re)      {RESET};
10
    \node [txt,above of=re] ()  {Reset DUT};
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    \node [phase,fill=green!20,right of=re]  (count)   {COUNT};
    \node [txt,above of=count] ()  {Count down timer};
    \node [phase,fill=violet!20,right of=count] (fault1)  {FAULT1};
    \node [txt,above of=fault1] ()  {Inject Fault 1};
    \node [phase,fill=yellow!20,right of=fault1] (fault2)  {FAULT2};
    \node [txt,above of=fault2] ()  {Inject Fault 2};
    \path [line] ($(conf.north west)$)   -- ($(fault2.north east) + (1,0)$);
    \path [draw] ($(conf.north west)$)   -- ($(conf.north west)   + (0,0.5)$);
    \path [draw] ($(wt.north west)$)     -- ($(wt.north west)     + (0,0.5)$);
    \path [draw] ($(re.north west)$)     -- ($(re.north west)     + (0,0.5)$);
    \path [draw] ($(count.north west)$)  -- ($(count.north west)  + (0,0.5)$);
    \path [draw] ($(fault1.north west)$) -- ($(fault1.north west) + (0,0.5)$);
    \path [draw] ($(fault2.north west)$) -- ($(fault2.north west) + (0,0.5)$);
\end{tikzpicture}