\XtoCBlock{uAdd}
\label{block:uAdd}
\begin{figure}[H]\includegraphics{uAdd}\end{figure} 
Addition of input 1 and input 2 with output wrapping.

\begin{XtoCtabular}{Inports}
In1 & Addend 1\\
\hline
In2 & Addend 2\\
\hline
\end{XtoCtabular}


\begin{XtoCtabular}{Outports}
Out & Sum\\
\hline
\end{XtoCtabular}

\ifdefined \XcOverviewDocu
% omit optional documentation file
\else
% include optional documentation file
\IfFileExists{\XcHomePath/Library/Math/Doc/uAdd_Info.tex}
  {\subsubsection*{Description:}
   \input{\XcHomePath/Library/Math/Doc/uAdd_Info.tex}}
  {\vspace{1ex}}
\fi

\subsubsection*{Implementations:}
\begin{tabular}{l l}
\textbf{FiP8} & 8 Bit Fixed Point Implementation\\
\textbf{FiP16} & 16 Bit Fixed Point Implementation\\
\textbf{FiP32} & 32 Bit Fixed Point Implementation\\
\textbf{Float32} & 32 Bit Floating Point Implementation\\
\textbf{Float64} & 64 Bit Floating Point Implementation\\
\end{tabular}

\ifdefined \XcOverviewDocu
% omit implementation details and test reports
\else
\XtoCImplementation{FiP8}
\nopagebreak[0]

8 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In1 & int8\\
\hline
In2 & int8\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int8\\
\hline
\end{XtoCtabular}

\XtoCImplementation{FiP16}
\nopagebreak[0]

16 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In1 & int16\\
\hline
In2 & int16\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int16\\
\hline
\end{XtoCtabular}

\XtoCImplementation{FiP32}
\nopagebreak[0]

32 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In1 & int32\\
\hline
In2 & int32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & int32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float32}
\nopagebreak[0]

32 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In1 & float32\\
\hline
In2 & float32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & float32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float64}
\nopagebreak[0]

64 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In1 & float64\\
\hline
In2 & float64\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
Out & float64\\
\hline
\end{XtoCtabular}

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/Math/Doc/Test-Results/Test_uAdd_FiP8.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Math/Doc/Test-Results/Test_uAdd_FiP16.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Math/Doc/Test-Results/Test_uAdd_FiP32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Math/Doc/Test-Results/Test_uAdd_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Math/Doc/Test-Results/Test_uAdd_Float64.tex}{}{}
\fi
\fi
