Initial import
[matthijs/master-project/haskell-symposium-talk.git] / demo.lhs
1 \section{Demonstration}
2
3 \frame{
4 \frametitle{How do we use \clash{}?}
5 As a library:
6 \begin{itemize}
7   \item Import the module: CLasH.Translator
8   \item And call \emph{makeVHDLAnnotations ghc\_lib\_dir [files\_to\_translate]}
9 \end{itemize}
10 Use customized GHC:
11 \begin{itemize}
12   \item Call GHC with the --vhdl flag
13   \item Use the :vhdl command in GHCi
14 \end{itemize}
15 }
16
17 \frame{
18 \frametitle{Real Demo}
19 \begin{itemize}
20   \item We will simulate the small CPU from earlier
21   \item Translate the CPU code to VHDL
22   \item Simulate the generated VHDL
23   \item Synthesize the VHDL to get a hardware schematic
24 \end{itemize}
25 }