2019-12-10 15:32:02 +01:00
|
|
|
\usepackage[utf8]{inputenc}
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\usepackage{url}
|
|
|
|
\usepackage{listings}
|
2020-03-01 17:13:51 +01:00
|
|
|
\usepackage{svg}
|
2019-12-10 15:32:02 +01:00
|
|
|
|
|
|
|
\lstdefinelanguage{customvhdl}[]{VHDL}{
|
|
|
|
morekeywords=[2]{std_logic, std_logic_vector, natural, integer, bit, string},
|
|
|
|
}
|
|
|
|
|
|
|
|
\lstdefinestyle{default}{
|
|
|
|
showstringspaces=false,
|
|
|
|
tabsize=4,
|
|
|
|
belowcaptionskip=1\baselineskip,
|
|
|
|
basicstyle=\footnotesize\ttfamily,
|
|
|
|
keywordstyle=\bfseries\color{green!40!black},
|
|
|
|
commentstyle=\itshape\color{purple},
|
|
|
|
stringstyle=\color{orange},
|
|
|
|
breaklines=true,
|
|
|
|
xleftmargin=\parindent,
|
|
|
|
numbers=left,
|
|
|
|
title=\lstname,
|
|
|
|
}
|
|
|
|
|
|
|
|
\lstdefinestyle{vhdlstyle}{
|
|
|
|
style=default,
|
|
|
|
language=customvhdl,
|
|
|
|
keywordstyle=[2]\bfseries\color{blue!80!white},
|
|
|
|
backgroundcolor=\color{lightgray!20},
|
|
|
|
frame=lrtb,
|
|
|
|
}
|
|
|
|
|
|
|
|
\lstset{
|
|
|
|
style=vhdlstyle,
|
|
|
|
}
|
|
|
|
|
2020-02-28 18:35:10 +01:00
|
|
|
\usepackage{biblatex}
|
|
|
|
\addbibresource{Diplomschrift.bib}
|
|
|
|
|
2019-12-10 15:32:02 +01:00
|
|
|
\usepackage{titling}
|
|
|
|
\usepackage{graphicx}
|
|
|
|
\usepackage{lastpage}
|
|
|
|
\usepackage{datetime}
|
|
|
|
\yyyymmdddate
|
|
|
|
\renewcommand{\dateseparator}{-}
|
|
|
|
|
2020-03-01 17:13:51 +01:00
|
|
|
\usepackage{titlesec}
|
2019-12-10 15:32:02 +01:00
|
|
|
\usepackage{fancyhdr}
|
|
|
|
|
|
|
|
\usepackage{pst-uml}
|
|
|
|
\setlength{\hoffset}{30mm-1in}
|
|
|
|
\setlength{\oddsidemargin}{0pt}
|
|
|
|
\setlength{\textwidth}{\paperwidth-60mm}
|
|
|
|
\addtolength{\textheight}{5em}
|
|
|
|
|
|
|
|
\setlength{\headwidth}{\textwidth}
|
|
|
|
|
|
|
|
\setlength{\topmargin}{0pt}
|
|
|
|
\addtolength{\voffset}{-1em}
|
|
|
|
|
2020-03-01 17:13:51 +01:00
|
|
|
\setlength{\parindent}{0pt}
|
2019-12-10 15:32:02 +01:00
|
|
|
\setlength{\parskip}{1em}
|
|
|
|
|
|
|
|
\usepackage{footnote}
|
2020-03-01 17:13:51 +01:00
|
|
|
\usepackage{tikz}
|
|
|
|
|
|
|
|
\newcommand\instrset{rv32i}
|
|
|
|
|
|
|
|
\newcommand{\entityheader}[2]{
|
|
|
|
\lstinputlisting[title=\texttt{#2}]{#1}
|
|
|
|
}
|
|
|
|
|
|
|
|
\usepackage{tcolorbox}
|
|
|
|
|
|
|
|
\newtcbox{\codeBox}[1][gray]{
|
|
|
|
on line,
|
|
|
|
arc=2pt,
|
|
|
|
colback=black!5,
|
|
|
|
colupper=black!80,
|
|
|
|
colframe=black!20,
|
|
|
|
before upper={
|
|
|
|
\rule[-3pt]{0pt}{10pt}
|
|
|
|
},
|
|
|
|
boxrule=1pt,
|
|
|
|
boxsep=0pt,
|
|
|
|
left=3pt,
|
|
|
|
right=3pt,
|
|
|
|
top=2pt,
|
|
|
|
bottom=0pt
|
|
|
|
}
|
|
|
|
\newcommand{\icode}[1]{\codeBox{\texttt{#1}}}
|
2019-12-10 15:32:02 +01:00
|
|
|
|
|
|
|
% loaded last
|
|
|
|
\usepackage{hyperref}
|