X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fmaster-project%2Fhaskell-symposium-talk.git;a=blobdiff_plain;f=demo.lhs;h=f50a9590df95d6e92a458b5e83aee2d2e49fd44f;hp=a88787797d0db7114740f23492d0961358765af8;hb=HEAD;hpb=bf7c294bcfb5b4528e4daf0bdddd18ab59adc86c diff --git a/demo.lhs b/demo.lhs index a887877..f50a959 100644 --- a/demo.lhs +++ b/demo.lhs @@ -1,25 +1,37 @@ \section{Demonstration} \frame{ -\frametitle{How do we use \clash{}?} -As a library: +\frametitle{Demo} \begin{itemize} - \item Import the module: CLasH.Translator - \item And call \emph{makeVHDLAnnotations ghc\_lib\_dir [files\_to\_translate]} -\end{itemize} -Use customized GHC: -\begin{itemize} - \item Call GHC with the --vhdl flag - \item Use the :vhdl command in GHCi + \item Pre-Recored Video: VHDL Synthesis takes too long + \item Simulate the CPU description + \item Translate the CPU to VHDL + \item Simulate the generated VHDL \end{itemize} +}\note[itemize]{ +\item Will show video } \frame{ -\frametitle{Real Demo} -\begin{itemize} - \item We will simulate the small CPU from earlier - \item Translate the CPU code to VHDL - \item Simulate the generated VHDL - \item Synthesize the VHDL to get a hardware schematic -\end{itemize} -} \ No newline at end of file +\frametitle{Generated Schematic} +\begin{figure} +\centerline{\includegraphics<1>[width=10.3cm]{cpucomplete} +\includegraphics<2>[width=11.3cm]{cpualu} +\includegraphics<3>[height=6.3cm]{cpuregisters}} +\end{figure} +} + +% +% \frame{ +% \frametitle{How do we use \clash{}?} +% As a library: +% \begin{itemize} +% \item Import the module: CLasH.Translator +% \item And call \emph{makeVHDLAnnotations ghc\_lib\_dir [files\_to\_translate]} +% \end{itemize} +% Customized GHC: +% \begin{itemize} +% \item Call GHC with the --vhdl flag +% \item Use the :vhdl command in GHCi +% \end{itemize} +% }