-
Notifications
You must be signed in to change notification settings - Fork 21
/
main.tex
executable file
·194 lines (143 loc) · 5.17 KB
/
main.tex
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
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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
%%*************************************************************************
%% The Berkeley Out-of-Order Machine
%% Christopher Celio
%% 2015 Dec 17
%%
%% Design document
%%*************************************************************************
\documentclass[11pt, notitlepage]{report}
\usepackage{graphicx}
\usepackage{url}
\usepackage{fullpage}
\usepackage{listings} % used for putting code
\usepackage{color}
\usepackage[multiple]{footmisc}
%\usepackage{wrapfig} % allow text to wrap around a figure
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=black,
urlcolor=red,
citecolor=black,
filecolor=black,
linktoc=all
}
\let\tt\texttt
\lstset{ %
language=C++, % choose the language of the code
%basicstyle=\small\ttfamily, % the size of the fonts that are used for the code
basicstyle=\scriptsize\ttfamily,basewidth=0.50em, % the size of the fonts that are used for the code
numbers=left, % where to put the line-numbers
numberstyle=\scriptsize, % the size of the fonts that are used for the line-numbers
stepnumber=1, % the step between two line-numbers. If it is 1 each line will be numbered
numbersep=5pt, % how far the line-numbers are from the code
backgroundcolor=\color{white}, % choose the background color. You must add \usepackage{color}
showspaces=false, % show spaces adding particular underscores
showstringspaces=false, % underline spaces within strings
showtabs=false, % show tabs within strings adding particular underscores
frame=single, % adds a frame around the code
tabsize=3, % sets default tabsize to 3 spaces
captionpos=b, % sets the caption-position to bottom
breaklines=true, % sets automatic line breaking
breakatwhitespace=false, % sets if automatic breaks should only happen at whitespace
linewidth=1.0\textwidth,
boxpos=b,
%escapeinside={\%
%}
%{
%)} % if you want to add a comment within your code
}
\renewcommand{\lstlistingname}{Code} % change caption title from 'listings' to what I want
\newcommand{\smalltodo}[1]{\marginpar{\footnotesize #1}}
\newcommand{\TODO}[1]{{\color{red} {\textbf [ TODO: #1 ]}}}
\newcommand{\fixme}[1]{{\color{red} {\textbf [ FIXME: #1 ]}}}
\newcommand{\ooo}{out-of-order}
\newcommand{\boom}{{\em BOOM}}
\newcommand{\BOOM}{{\em BOOM}}
\newcommand{\Chisel}{{\em Chisel}}
\newcommand{\Rocket}{{\em Rocket}}
\newcommand{\rocket}{{\em Rocket}}
\newcommand{\rocketchip}{{\em Rocket-chip}}
\newcommand{\fdiv}{{\tt {fdiv}}}
\newcommand{\ghistory}{{\em {ghistory}}}
\newcommand{\jal}{{\tt {JAL}}}
\newcommand{\jalr}{{\tt {JALR}}}
% allow us to add comentary
\newenvironment{commentary}
{ \vspace{-0.2in}
\begin{quotation}
\noindent
\small \em
\rule{\linewidth}{1pt}\\
}
{
\end{quotation}
\vspace{-0.2in}
}
\let\oldthebibliography=\thebibliography
\let\endoldthebibliography=\endthebibliography
\renewenvironment{thebibliography}[1]{%
\begin{oldthebibliography}{#1}%
\setlength{\parskip}{0ex}%
\setlength{\itemsep}{0ex}%
}%
{%
\end{oldthebibliography}%
}
%%*************************************************************************
\begin{document}
\title{The Berkeley Out-of-Order Machine (BOOM) Design Specification}
\author{Christopher Celio, David Patterson, and Krste Asanovi\'{c}\\
%School of Electrical and Computer Engineering\\
University of California, Berkeley, California 94720--1770\\
{\tt [email protected]}}
\maketitle
%%*************************************************************************
\
\
{\centerline {\color{red}This draft is a work-in-progress.}}
\vfill
\hrule
\
\noindent The information in this publication is subject to change without notice.
\noindent This document is available at: \url{https://ccelio.github.io/riscv-boom-doc}.
\
\noindent Copyright \copyright\ 2016 Christopher Celio
\
\noindent This work is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0). To view a copy of this license, visit \url{http://creativecommons.org/licenses/by/4.0/}.
\thispagestyle{empty} % suppress page number
%%*************************************************************************
\tableofcontents
\include{sections/intro}
\include{sections/fetch}
\include{sections/bpd}
\include{sections/decode}
\include{sections/rename}
\include{sections/rob}
\include{sections/issue}
\include{sections/registerread}
\include{sections/execute}
\include{sections/lsu}
\include{sections/memory}
\include{sections/uarch-counters}
\include{sections/verification}
\chapter{Debugging}
\include{sections/visualization}
\include{sections/physical}
\appendix
\include{sections/futurework}
\include{sections/parameterization}
\chapter{Frequently Asked Questions}
To be filled in as questions are asked!
\include{sections/terminology}
\begin{figure}[ht]
\centering
\centerline{\includegraphics[scale =.9, angle=90] {figures/simple_boom_pipeline}}
\caption{ \small A more detailed diagram of BOOM, for a single-issue RV32IM design.}
\label{fig:boom-detailed}
\end{figure}
%\begin{scriptsize}
\bibliographystyle{abbrv}
\bibliography{bibliography}
%\end{scriptsize}
\end{document}