summaryrefslogtreecommitdiffstats
path: root/tool-figure.tex
diff options
context:
space:
mode:
authorJohn Wickerson <j.wickerson@imperial.ac.uk>2020-09-04 13:36:51 +0000
committeroverleaf <overleaf@localhost>2020-09-06 15:05:10 +0000
commit58422a148843b8ce581c6f241e460c932e51fa1f (patch)
tree532d3c23f329f658e2fddd010214fd2b9be0116a /tool-figure.tex
parent42292ef1e5552cc599c20a3d43953f56a56107cf (diff)
downloadfccm21_esrhls-58422a148843b8ce581c6f241e460c932e51fa1f.tar.gz
fccm21_esrhls-58422a148843b8ce581c6f241e460c932e51fa1f.zip
Update on Overleaf.
Diffstat (limited to 'tool-figure.tex')
-rw-r--r--tool-figure.tex29
1 files changed, 29 insertions, 0 deletions
diff --git a/tool-figure.tex b/tool-figure.tex
new file mode 100644
index 0000000..57f7230
--- /dev/null
+++ b/tool-figure.tex
@@ -0,0 +1,29 @@
+\begin{figure*}
+ \centering
+ \tikzset{
+file/.style={draw=none, fill=black!25, shape=circle, minimum width=5mm},
+block/.style={draw, minimum width=20mm, minimum height=8mm,align=center},
+}
+ \begin{tikzpicture}
+ \node[block] (csmith) at (-2,1) {\strut Csmith};
+ \node[block] (pragma) at (0,-1) {\strut pragma \\ generation};
+ \node[block] (gcc) at (4,1) {\strut gcc};
+ \node[block] (hls) at (4,-1) {\strut HLS};
+ \node[block] (eq) at (8,1) {\strut co-simulation \\ checking };
+ \node[block] (red) at (8,-1) {\strut reduction};
+ \draw[-latex] (csmith.east) to [out=0, in=90] (pragma.north) ;
+ \draw[-latex] (csmith.east) to [auto] node {C program} (gcc.west);
+ \draw[-latex] (pragma) to [auto] node[align=center] {C program $+$ \\ directives} (hls) ;
+ \draw[-latex] (gcc) to [auto] node {executable} (eq);
+ \draw[-latex] (hls) to [auto] node[inner sep=0] {Verilog program} (eq) ;
+ \draw[-latex,dashed,red] (eq) to [auto] node [red] {fail} (red) ;
+ \draw[-latex,dashed,red] (hls) to [auto] node [red] {crash} (red) ;
+ %\draw[-latex] (pragma) [out=360-15,in=180+15] to (red);
+ %\node[] () at (4,-2) {C program};
+ \end{tikzpicture}
+ % \includegraphics{}
+ \caption{A figure that shows the overall flow.
+ \NR{Is that more accurate now? Do programs that crash get reduced? Do pragmas get reduced too?}
+ }
+ \label{fig:method:toolflow}
+\end{figure*} \ No newline at end of file