ThreadpoolComposer.tex 3.04 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
\documentclass[a4paper, oneside, 11pt]{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{booktabs}
\usepackage{hyperref}
\usepackage{listings}
\usepackage{longtable}
\usepackage{array}
\usepackage{paralist}
\usepackage{rotating}
\usepackage{tikz}
\usetikzlibrary{arrows,backgrounds,shadows,shapes}
\usepackage{pgf-umlsd}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\title{Threadpool Composer}
\subtitle{Installation and User Guide}
\date{}


\newcommand{\gloss}[1]{\textsf{\small #1}}
23
24
\newcommand{\tapasco}{\gloss{Tapasco}}
\newcommand{\tapascohome}{\code{TPC\_HOME}}
25
26
27
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
\newcommand{\code}[1]{\texttt{\footnotesize #1}}

\newcommand{\tblref}[1]{Table~\ref{#1}}
\newcommand{\figref}[1]{Figure~\ref{#1}}
\newcommand{\chpref}[1]{Chapter~\ref{#1}}
\newcommand{\secref}[1]{Section~\ref{#1}}
\newcommand{\lstref}[1]{Listing~\ref{#1}}

\lstset{
  showstringspaces=false,
  showspaces=false,
  basicstyle=\footnotesize\ttfamily
}

\input{esacolors}

\newcommand{\lstnumbers}[1]{\smash{\ttfamily #1}}
\newcommand{\lstcomments}[1]{\smash{\color{gray}\ttfamily\itshape #1}}
\newcommand{\lstkeywords}[1]{\smash{\color{esa4}\ttfamily\bfseries #1}}
\newcommand{\fullscreen}[0]{\thispagestyle{empty}\vspace*{-15ex}}%

\lstdefinelanguage{kernel}{%
  keywords={Name,Kernel,Version,ValueArgs,ReferenceArgs,ReturnSize,Files,TestbenchFiles},
  comment=[l]{\#}
}
\lstdefinelanguage{arch}{%
  keywords={Name,DesignTclTemplate,ReferenceArgTemplate,ValueArgTemplate},
  comment=[l]{\#}
}
\lstdefinelanguage{platform}{%
  keywords={Name,PlatformTclTemplate,Part,BoardPart},
  comment=[l]{\#}
}
\lstdefinelanguage{bitstream}{%
  keywords={Composition},
  comment=[l]{\#}
}
\lstdefinelanguage{run}{%
  keywords={Architecture, Platform, Bitstream, Kernel, ArchDir, KernelDir, PlatformDir, BitstreamDir},
  comment=[l]{\#}
}
\lstdefinelanguage[TemplateTcl]{Tcl}[]{Tcl}{%
  morecomment=**[s][\bfseries\color{green!30!black}]{@@}{@@},
  morestring=*[b]"
}

\lstset{%
        %frame = single,%
        %backgroundcolor = \color{black!40},%
        %numbers = left,%
        basicstyle = \ttfamily\scriptsize, %
        numberstyle = \lstnumbers, %
        keywordstyle = \lstkeywords, %
        commentstyle = \lstcomments
}

\usepackage[framemethod=tikz]{mdframed}
\newmdenv[innerlinewidth=0.5pt,
	roundcorner=4pt,
	linecolor=esa0!10!white,
	innerleftmargin=6pt,
	innerrightmargin=6pt,
	innertopmargin=3pt,
	innerbottommargin=3pt,
	backgroundcolor=esa0!10!white
]{noteframe}
\newenvironment{note}[1][Note]{\begin{noteframe}\textbf{\color{esa3}#1 }\itshape}{\end{noteframe}}

\begin{document}
  \maketitle
  \input{revisions}
  \tableofcontents

  \chapter{Installation Guide}\label{chp:ig}
  \input{ig.tex}
  \chapter{User Guide}\label{chp:ug}
  \input{ug.tex}
  \chapter{Prototypical Implementations}\label{chp:ex}
  \input{ex.tex}
  \chapter{Appendix}\bibliographystyle{IEEEtran}
105
  \bibliography{tapasco}
106
\end{document}