diff --git a/Makefile b/Makefile index 525d85132..775b82201 100644 --- a/Makefile +++ b/Makefile @@ -143,7 +143,7 @@ install: $(TARGETS) $(EXTRA_TARGETS) $(INSTALL_SUDO) cp -r share/. $(DESTDIR)/share/yosys/. manual: - cd manual && bash make.sh + cd manual && bash manual.sh clean: rm -rf share diff --git a/manual/.gitignore b/manual/.gitignore index 7412c4d4e..8ae9cbdec 100644 --- a/manual/.gitignore +++ b/manual/.gitignore @@ -6,4 +6,6 @@ *.out *.pdf *.toc +*.snm +*.nav *.ok diff --git a/manual/PRESENTATION_Intro.tex b/manual/PRESENTATION_Intro.tex new file mode 100644 index 000000000..c14e055e3 --- /dev/null +++ b/manual/PRESENTATION_Intro.tex @@ -0,0 +1,39 @@ + +\section{Introduction} + +\begin{frame} +\sectionpage +\end{frame} + +\subsection{Representations of (digital) Circuits} + +\begin{frame}{\subsecname} +\begin{itemize} + \item Graphical + \begin{itemize} + \item \alert<1>{Schematic Diagram} + \item \alert<2>{Physical Layout} + \end{itemize} + \bigskip + \item Non-graphical + \begin{itemize} + \item \alert<3>{Netlists} + \item \alert<4>{Hardware Description Language} + \end{itemize} +\end{itemize} +\bigskip +\begin{block}{Definition} + \only<1>{Schematic Diagrams are ...} + \only<2>{Physical Layouts are ...} + \only<3>{Netlists are ...} + \only<4>{Hardware Description Languages are ...} +\end{block} +\end{frame} + + +\subsection{Digital Circuit Synthesis} + +\begin{frame}{\subsecname} +\end{frame} + + diff --git a/manual/make_appnotes.sh b/manual/appnotes.sh old mode 100644 new mode 100755 similarity index 100% rename from manual/make_appnotes.sh rename to manual/appnotes.sh diff --git a/manual/make.sh b/manual/manual.sh similarity index 100% rename from manual/make.sh rename to manual/manual.sh diff --git a/manual/presentation.sh b/manual/presentation.sh new file mode 100755 index 000000000..3a55b9391 --- /dev/null +++ b/manual/presentation.sh @@ -0,0 +1,47 @@ +#!/bin/bash + +fast_mode=false + +set -- $(getopt fu "$@") +while [ $# -gt 0 ]; do + case "$1" in + -f) + fast_mode=true + ;; + --) + shift + break + ;; + -*) + echo "$0: error - unrecognized option $1" 1>&2 + exit 1 + ;; + *) + break + esac + shift +done + +PDFTEX_OPT="-shell-escape -halt-on-error" + +if ! $fast_mode; then + md5sum *.aux *.snm *.nav *.toc > autoloop.old +fi + +set -ex + +pdflatex $PDFTEX_OPT presentation.tex + +if ! $fast_mode; then + while + md5sum *.aux *.snm *.nav *.toc > autoloop.new + ! cmp autoloop.old autoloop.new + do + cp autoloop.new autoloop.old + pdflatex $PDFTEX_OPT presentation.tex + done + + rm -f autoloop.old + rm -f autoloop.new +fi + diff --git a/manual/presentation.tex b/manual/presentation.tex new file mode 100644 index 000000000..893c66833 --- /dev/null +++ b/manual/presentation.tex @@ -0,0 +1,16 @@ +\documentclass{beamer} + +\title{Yosys Open SYnthesis Suite} +\author{Clifford Wolf} + +\beamertemplatenavigationsymbolsempty + +\begin{document} + +\begin{frame} +\titlepage +\end{frame} + +\include{PRESENTATION_Intro} + +\end{document}