switch_hdl.tex 3.55 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
%
% wrpc_hdl.tex
%
% White Rabbit Switch HDL interface for software.
%
\def\us{\char`\_}

\documentclass[a4paper, 12pt]{article}
%\documentclass{article}

%\usepackage{tabu}
\usepackage[usenames,dvipsnames,table]{xcolor} %for wbgen
\usepackage{array}  %for wbgen
\usepackage{fullpage}
\usepackage{pgf}
\usepackage{tikz}
\usetikzlibrary{arrows,automata,shapes}
\usepackage{multirow}
\usepackage[latin1]{inputenc}
\usepackage{verbatim}
\usepackage{amsmath}
\usepackage{times,mathptmx}
\usepackage{chngcntr}
\usepackage{hyperref}
\usepackage[none]{hyphenat}
\usepackage{listings}
27
\graphicspath{ {../../../../figures/} }
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
%\usepackage{draftwatermark}
%\usepackage{cancel}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%    fig/tomeksDrawings
%\usepackage{morefloats}

%\usepackage{amsfonts}
%\usepackage{amssymb}
%\usepackage{graphicx} 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% creating subsubsubsection notation
% src: http://www.latex-community.org/forum/viewtopic.php?f=5&t=791
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setcounter{secnumdepth}{6}
\setcounter{tocdepth}{2}
\renewcommand\theparagraph{\Alph{paragraph}}

\let\oldmc\multicolumn %for wbgen
\makeatletter
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {0.0001pt \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
                                     {0.0001pt \@plus .2ex}%
                                     {\normalfont\normalsize\bfseries}}
%\renewcommand{\thefootnote}{\fnsymbol{footnote}}
%\renewcommand{\thefootnote}{\alph{footnote}}

\counterwithin{paragraph}{subsubsection}
\counterwithin{subparagraph}{paragraph}

%%for wbgen
\newcommand{\mcinherit}{ \renewcommand{\multicolumn}[3]
{
  \oldmc{##1}{##2}{\ifodd\rownum \@oddrowcolor\else\@evenrowcolor\fi ##3}
}}
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\eqoffset}[1]{%
  {\ensuremath{%
      {\text{offset}}_{#1}}%
  }%
}
\newcommand{\eqdelay}[1]{{\text{delay}}_{#1}}
\newcommand{\eqasymm}{{\text{asymmetry}}}

\begin{document}

\title{White Rabbit Switch HDL\\ software interface\\\normalsize
{version 4.0}\\\small{(12-02-2014)}}
\author{Grzegorz Daniluk\\ CERN BE-CO-HT}

\date{February 2014}
\maketitle
\thispagestyle{empty}

\begin{figure}[ht!]
  \centering
  \vspace{1.3cm}
91
  \includegraphics[width=0.50\textwidth]{logo/WRlogo.pdf}
92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
  \label{fig:wr_logo}
\end{figure}

\newpage

\newpage

\newpage

\tableofcontents

\newpage

\input{intro.tex}
\input{top.tex}
\section{Modules description}
\input{rts.tex}
\input{nic.tex}
\input{ep.tex}
\input{vic.tex}
\input{txtsu.tex}
\input{gpio.tex}
\input{i2c.tex}
\input{pwm.tex}
\input{tru.tex}
\input{tatsu.tex}
\input{pstats.tex}
\input{hwiu.tex}
\input{rtu.tex}

\newpage
\section{Wishbone configuration interfaces}
\input{doc/wr_pps_gen.tex}
\newpage
\input{doc/wrsw_nic.tex}
\newpage
\input{doc/wrsw_endpoint.tex}
\input{doc/wrsw_endpoint_mdio.tex}
\newpage
\input{doc/wb_vic.tex}
\newpage
\input{doc/wrsw_txtsu.tex}
\newpage
\input{doc/wb_gpio.tex}
\newpage
\input{doc/i2c_master.tex}
\newpage
\input{doc/wb_simple_pwm.tex}
\newpage
\input{doc/wrsw_tru.tex}
\newpage
\input{doc/wrsw_tatsu.tex}
\newpage
\input{doc/wrsw_pstats.tex}
\newpage
\input{doc/wrsw_hwiu.tex}
\newpage
\input{doc/wrsw_rtu.tex}
\newpage
\input{doc/wb_spi.tex}

\end{document}