From: Clifford Wolf Date: Mon, 27 Jan 2014 16:08:19 +0000 (+0100) Subject: Added first presentation slides X-Git-Tag: yosys-0.2.0~145 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb4c3dff331f617bb04d2d07a47a0168d3ec2967;p=yosys.git Added first presentation slides --- 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/appnotes.sh b/manual/appnotes.sh new file mode 100755 index 000000000..f816956ab --- /dev/null +++ b/manual/appnotes.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +set -ex +for job in APPNOTE_010_Verilog_to_BLIF APPNOTE_011_Design_Investigation +do + [ -f $job.ok -a $job.ok -nt $job.tex ] && continue + if [ -f $job/make.sh ]; then + cd $job + bash make.sh + cd .. + fi + old_md5=$([ -f $job.aux ] && md5sum < $job.aux || true) + while + pdflatex -shell-escape -halt-on-error $job.tex + new_md5=$(md5sum < $job.aux) + [ "$old_md5" != "$new_md5" ] + do + old_md5="$new_md5" + done + touch $job.ok +done + diff --git a/manual/make.sh b/manual/make.sh deleted file mode 100755 index c4673938a..000000000 --- a/manual/make.sh +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/bash - -fast_mode=false -update_mode=false - -set -- $(getopt fu "$@") -while [ $# -gt 0 ]; do - case "$1" in - -f) - fast_mode=true - ;; - -u) - update_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 $update_mode; then - make -C .. - ../yosys -p 'help -write-tex-command-reference-manual' -fi - -if ! $fast_mode; then - md5sum *.aux *.bbl *.blg > autoloop.old -fi - -set -ex - -pdflatex $PDFTEX_OPT manual.tex - -if ! $fast_mode; then - bibtex manual.aux - bibtex weblink.aux - - while - md5sum *.aux *.bbl *.blg > autoloop.new - ! cmp autoloop.old autoloop.new - do - cp autoloop.new autoloop.old - pdflatex $PDFTEX_OPT manual.tex - done - - rm -f autoloop.old - rm -f autoloop.new -fi - diff --git a/manual/make_appnotes.sh b/manual/make_appnotes.sh deleted file mode 100644 index f816956ab..000000000 --- a/manual/make_appnotes.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -set -ex -for job in APPNOTE_010_Verilog_to_BLIF APPNOTE_011_Design_Investigation -do - [ -f $job.ok -a $job.ok -nt $job.tex ] && continue - if [ -f $job/make.sh ]; then - cd $job - bash make.sh - cd .. - fi - old_md5=$([ -f $job.aux ] && md5sum < $job.aux || true) - while - pdflatex -shell-escape -halt-on-error $job.tex - new_md5=$(md5sum < $job.aux) - [ "$old_md5" != "$new_md5" ] - do - old_md5="$new_md5" - done - touch $job.ok -done - diff --git a/manual/manual.sh b/manual/manual.sh new file mode 100755 index 000000000..c4673938a --- /dev/null +++ b/manual/manual.sh @@ -0,0 +1,59 @@ +#!/bin/bash + +fast_mode=false +update_mode=false + +set -- $(getopt fu "$@") +while [ $# -gt 0 ]; do + case "$1" in + -f) + fast_mode=true + ;; + -u) + update_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 $update_mode; then + make -C .. + ../yosys -p 'help -write-tex-command-reference-manual' +fi + +if ! $fast_mode; then + md5sum *.aux *.bbl *.blg > autoloop.old +fi + +set -ex + +pdflatex $PDFTEX_OPT manual.tex + +if ! $fast_mode; then + bibtex manual.aux + bibtex weblink.aux + + while + md5sum *.aux *.bbl *.blg > autoloop.new + ! cmp autoloop.old autoloop.new + do + cp autoloop.new autoloop.old + pdflatex $PDFTEX_OPT manual.tex + done + + rm -f autoloop.old + rm -f autoloop.new +fi + 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}