|
|
|
@ -3,7 +3,7 @@
|
|
|
|
\lstdefinestyle{customc}{
|
|
|
|
\lstdefinestyle{customc}{
|
|
|
|
belowcaptionskip=1\baselineskip,
|
|
|
|
belowcaptionskip=1\baselineskip,
|
|
|
|
breaklines=true, %Schaltet Zeilenumbruch ein
|
|
|
|
breaklines=true, %Schaltet Zeilenumbruch ein
|
|
|
|
%frame=L, %Erzeugt Strich links oder Rahmen mit single
|
|
|
|
frame=L, %Erzeugt Strich links oder Rahmen mit single
|
|
|
|
xleftmargin=0pt,
|
|
|
|
xleftmargin=0pt,
|
|
|
|
language=VHDL,
|
|
|
|
language=VHDL,
|
|
|
|
showstringspaces=false,
|
|
|
|
showstringspaces=false,
|
|
|
|
@ -14,6 +14,20 @@
|
|
|
|
stringstyle=\color{orange},
|
|
|
|
stringstyle=\color{orange},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
\lstdefinestyle{customd}{
|
|
|
|
|
|
|
|
belowcaptionskip=1\baselineskip,
|
|
|
|
|
|
|
|
breaklines=true, %Schaltet Zeilenumbruch ein
|
|
|
|
|
|
|
|
frame=L, %Erzeugt Strich links oder Rahmen mit single
|
|
|
|
|
|
|
|
xleftmargin=0pt,
|
|
|
|
|
|
|
|
language=tcl,
|
|
|
|
|
|
|
|
showstringspaces=false,
|
|
|
|
|
|
|
|
basicstyle=\footnotesize\ttfamily,
|
|
|
|
|
|
|
|
keywordstyle=\bfseries\color{blue!90!black},
|
|
|
|
|
|
|
|
commentstyle=\itshape\color{green!60!black},
|
|
|
|
|
|
|
|
identifierstyle=\color{black},
|
|
|
|
|
|
|
|
stringstyle=\color{orange},
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
%Im Hauptfile unter begin{document} folgendes einfügen
|
|
|
|
%Im Hauptfile unter begin{document} folgendes einfügen
|
|
|
|
% \input{vhdl.tex}
|
|
|
|
% \input{vhdl.tex}
|
|
|
|
|
|
|
|
|
|
|
|
@ -24,5 +38,7 @@
|
|
|
|
% \end{lstlisting}
|
|
|
|
% \end{lstlisting}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%Um Code aus einer Datei zu importieren
|
|
|
|
%Um Code aus einer VHDL-Datei zu importieren
|
|
|
|
% \lstinputlisting[style=customc]{file.vhd}
|
|
|
|
% \lstinputlisting[style=customc]{file.vhd}
|
|
|
|
|
|
|
|
% und für tcl Makros:
|
|
|
|
|
|
|
|
% \lstinputlisting[style=customd]{file.DO}
|