statemachine: pc-komm
[hwmod.git] / spec / ProtocolHeader.sty
index 2bc23470e2f8445b5961b0ceccdf05c4457f5b15..179b38b9841ee51a6afb9e76c997f8ee19c1e945 100644 (file)
@@ -14,6 +14,7 @@
 \usepackage{longtable,colortbl}\r
 \usepackage{pdfpages}\r
 \usepackage{pdflscape}\r
+\usepackage{longtable}\r
 \r
 \hypersetup{%\r
   colorlinks=true,\r
        \textbf{Req \arabic{reqcounter}} #1\\\r
        \label{Req \arabic{reqcounter}} %this could be done better with a second argument, but that's tiresome to write in the text\r
 }\r
+\r
+\newcommand{\ZE}{\\ \hline}\r
+\newcommand{\THEAD}{\r
+       \begin{center}\r
+       \begin{longtable}{|l|l|r|l|l|p{6cm}|}\r
+       \hline\r
+       \textbf{Bezeichnung} & \textbf{Direction} & \textbf{Breite} &\r
+       \textbf{Typ} & \textbf{in Verbindung mit} & \textbf{Beschreibung}\r
+       \ZE\r
+       sys\_clk & in & 1 & std\_logic & System & Systemclock \ZE\r
+       sys\_res\_n & in & 1 & std\_logic & System & Systemreset \ZE\r
+}\r
+\newcommand{\TEND}{\r
+       \end{longtable}\r
+       \end{center}\r
+}\r