\XtoCBlock{Sin3Gen}
\label{block:Sin3Gen}
\begin{figure}[H]\includegraphics{Sin3Gen}\end{figure} 
Generation of a 3 sine waves with amplitude (A) and frequency (f).

\begin{XtoCtabular}{Inports}
A & Amplitude\\
\hline
f & Frequency\\
\hline
\end{XtoCtabular}


\begin{XtoCtabular}{Outports}
u & Sine wave output phase u\\
\hline
v & Sine wave output phase v\\
\hline
w & Sine wave output phase w\\
\hline
\end{XtoCtabular}

\begin{XtoCMaskParamTabular}{Mask Parameters}
fmax & 1 & Maximum Frequency in Hz\\
\hline
Offset & 2 & Offset\\
\hline
ts\_fact & 3 & 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/General/Doc/Sin3Gen_Info.tex}
  {\subsubsection*{Description:}
   \input{\XcHomePath/Library/General/Doc/Sin3Gen_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}
A & int16\\
\hline
f & int16\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
u & int16\\
\hline
v & int16\\
\hline
w & int16\\
\hline
\end{XtoCtabular}

\XtoCImplementation{FiP32}
\nopagebreak[0]

32 Bit Fixed Point Implementation

\begin{XtoCtabular}{Inports Data Type}
A & int32\\
\hline
f & int32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
u & int32\\
\hline
v & int32\\
\hline
w & int32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float32}
\nopagebreak[0]

32 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
A & float32\\
\hline
f & float32\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
u & float32\\
\hline
v & float32\\
\hline
w & float32\\
\hline
\end{XtoCtabular}

\XtoCImplementation{Float64}
\nopagebreak[0]

64 Bit Floating Point Implementation

\begin{XtoCtabular}{Inports Data Type}
A & float64\\
\hline
f & float64\\
\hline
\end{XtoCtabular}

\begin{XtoCtabular}{Outports Data Type}
u & float64\\
\hline
v & float64\\
\hline
w & float64\\
\hline
\end{XtoCtabular}

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Sin3Gen_FiP16.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Sin3Gen_FiP32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Sin3Gen_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Sin3Gen_Float64.tex}{}{}
\fi
\fi
