52 lines
1.8 KiB
TeX
52 lines
1.8 KiB
TeX
|
|
\documentclass{article}
|
|
\usepackage{tikz}
|
|
\usetikzlibrary{arrows,positioning}
|
|
\usetikzlibrary{arrows.meta,chains,shapes.geometric}
|
|
\usetikzlibrary{decorations.pathreplacing}
|
|
|
|
|
|
\begin{document}
|
|
|
|
\begin{figure}%[h]
|
|
\centering
|
|
\begin{tikzpicture}[
|
|
proc/.style = {rectangle, minimum width=5mm, minimum height=5mm, text centered, draw=black}
|
|
]
|
|
\node (input)[align=center] {Input\\ symbol};
|
|
\node (tf) [proc,align=center,right of=input,xshift=20mm] {Transition\\ function};
|
|
\node (output)[right of=tf,xshift=15mm,yshift=2.5mm] {Judgement};
|
|
|
|
\draw[->] (input) -- (tf);
|
|
\draw[->] (tf.15) -- (output);
|
|
\end{tikzpicture}
|
|
|
|
% \begin{tikzpicture}[
|
|
% node distance = 4mm and 8mm,
|
|
% arrow/.style = {-Straight Barb},
|
|
% block/.style = {draw, minimum height=12mm, text width=31mm, align=center}
|
|
% ]
|
|
% \node (judgement) [block] {Judgement};
|
|
% \node (state) [block, below=of judgement] {FA state};
|
|
% \node[above] at (judgement.north) {Combinatory};
|
|
% \node[below] at (state.south) {Sequential};
|
|
% %([yshift=-10pt]state.west)
|
|
%
|
|
% \node[left] at ([xshift=-2mm, yshift=1.5mm]judgement.190) {$r$};
|
|
% \node[left] at ([xshift=8mm, yshift=-2mm]state.east) {$r_{in}$};
|
|
% %\draw[arrow] (state.170) -- ++(-4mm,0) |- (judgement.190);
|
|
%
|
|
% \coordinate[left=of judgement.170, label=left:$D$] (Input symbol);
|
|
% \coordinate[left=of state.190, label=left:$clk$] (clk);
|
|
% \coordinate[right=of judgement.10, label=right:$Q$] (Q);
|
|
% \draw[arrow] (D) -- (D -| judgement.west);
|
|
% \draw[arrow] (clk) -- (clk -| state.west);
|
|
% \draw[arrow] (Q -| judgement.east) -- (Q);
|
|
% \draw[arrow] (state.170) -- ++(-4mm,0) |- (judgement.190);
|
|
% \draw[arrow] (judgement.350) -- ++(4mm,0) |- (state.east);
|
|
% \end{tikzpicture}
|
|
\end{figure}
|
|
|
|
|
|
\end{document}
|