\XtoCBlock{ACDC}
\label{block:ACDC}
\begin{figure}[H]\includegraphics{ACDC}\end{figure} 
Calculation of AC and DC part of input signal.

\begin{XtoCtabular}{Inports}
In & Input signal\\
\hline
phi & Angle signal\\
\hline
\end{XtoCtabular}


\begin{XtoCtabular}{Outports}
AC & AC part of input signal\\
\hline
DC & DC part of input signal\\
\hline
\end{XtoCtabular}

\begin{XtoCMaskParamTabular}{Mask Parameters}
ts\_fact & 1 & Multiplication factor of base sampling time (in integer format)\\
\hline
\end{XtoCMaskParamTabular}

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

\subsubsection*{Implementations:}
\begin{tabular}{l l}
\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{FiP16}
\nopagebreak[0]

16 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & int16\\
\hline
phi & int16\\
\hline
\end{XtoCtabular}

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

\XtoCImplementation{FiP32}
\nopagebreak[0]

32 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & int32\\
\hline
phi & int32\\
\hline
\end{XtoCtabular}

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

\XtoCImplementation{Float32}
\nopagebreak[0]

32 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & float32\\
\hline
phi & float32\\
\hline
\end{XtoCtabular}

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

\XtoCImplementation{Float64}
\nopagebreak[0]

64 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
In & float64\\
\hline
phi & float64\\
\hline
\end{XtoCtabular}

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

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_ACDC_FiP16.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_ACDC_FiP32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_ACDC_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/Filter/Doc/Test-Results/Test_ACDC_Float64.tex}{}{}
\fi
\fi
