\XtoCBlock{Int2Real}
\label{block:Int2Real}
\begin{figure}[H]\includegraphics{Int2Real}\end{figure} 
Conversion block from integer (fixed point) datatypes to real (floating point) datatypes.

  Out = In * Scale 

\begin{XtoCtabular}{Inports}
In & Integer input\\
\hline
\end{XtoCtabular}


\begin{XtoCtabular}{Outports}
Out & Real output\\
\hline
\end{XtoCtabular}

\begin{XtoCMaskParamTabular}{Mask Parameters}
Scale & 1 & Scaling factor from integer to real\\
\hline
\end{XtoCMaskParamTabular}

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

\subsubsection*{Implementations:}
\begin{tabular}{l l}
\textbf{FiP8\_Float32} & 8 Bit Fixed Point to 32 Bit Floating Point Implementation\\
\textbf{FiP16\_Float32} & 16 Bit Fixed Point to 32 Bit Floating Point Implementation\\
\textbf{FiP32\_Float32} & 32 Bit Fixed Point to 32 Bit Floating Point Implementation\\
\textbf{FiP8\_Float64} & 8 Bit Fixed Point to 64 Bit Floating Point Implementation\\
\textbf{FiP16\_Float64} & 16 Bit Fixed Point to 64 Bit Floating Point Implementation\\
\textbf{FiP32\_Float64} & 32 Bit Fixed Point to 64 Bit Floating Point Implementation\\
\textbf{Bool\_Float32} & Boolean to 32 Bit Floating Point Implementation\\
\textbf{Bool\_Float64} & Boolean to 64 Bit Floating Point Implementation\\
\end{tabular}

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

8 Bit Fixed Point to 32 Bit Floating Point Implementation

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

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

\XtoCImplementation{FiP16\_Float32}
\nopagebreak[0]

16 Bit Fixed Point to 32 Bit Floating Point Implementation

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

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

\XtoCImplementation{FiP32\_Float32}
\nopagebreak[0]

32 Bit Fixed Point to 32 Bit Floating Point Implementation

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

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

\XtoCImplementation{FiP8\_Float64}
\nopagebreak[0]

8 Bit Fixed Point to 64 Bit Floating Point Implementation

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

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

\XtoCImplementation{FiP16\_Float64}
\nopagebreak[0]

16 Bit Fixed Point to 64 Bit Floating Point Implementation

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

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

\XtoCImplementation{FiP32\_Float64}
\nopagebreak[0]

32 Bit Fixed Point to 64 Bit Floating Point Implementation

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

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

\XtoCImplementation{Bool\_Float32}
\nopagebreak[0]

Boolean to 32 Bit Floating Point Implementation

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

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

\XtoCImplementation{Bool\_Float64}
\nopagebreak[0]

Boolean to 64 Bit Floating Point Implementation

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

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

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_FiP8_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_FiP16_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_FiP32_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_FiP8_Float64.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_FiP16_Float64.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_FiP32_Float64.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_Bool_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_Int2Real_Bool_Float64.tex}{}{}
\fi
\fi
