\XtoCBlock{LookupTable1D}
\label{block:LookupTable1D}
\begin{figure}[H]\includegraphics{LookupTable1D}\end{figure} 
One dimensional look-up table with selectable number of data points.

  Table data must be an array of size DimX. If one of the RAM implementations is used, DimX must not exceed 257.

  If input is out of specified range, output will be cut off (no extrapolation).

\begin{XtoCtabular}{Inports}
x & Table index in x direction\\
\hline
\end{XtoCtabular}


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

\begin{XtoCMaskParamTabular}{Mask Parameters}
TableData & 1 & Look-up table data\\
\hline
DimX & 2 & Number of data points in x-direction\\
\hline
x\_min & 3 & Minimum input value of x-dimension for look-up table\\
\hline
x\_max & 4 & Maximum input value of x-dimension for look-up table\\
\hline
\end{XtoCMaskParamTabular}

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

\subsubsection*{Implementations:}
\begin{tabular}{l l}
\textbf{FiP16} & 64 Bit Floating Point Implementation with look-up table located in RAM\\
\textbf{FiP32} & 32 Bit Fixed Point Implementation with look-up table located in Flash memory\\
\textbf{Float32} & 32 Bit Floating Point Implementation with look-up table located in Flash memory\\
\textbf{Float64} & 64 Bit Floating Point Implementation with look-up table located in Flash memory\\
\textbf{FiP16\_RAM} & 16 Bit Fixed Point Implementation with look-up table located in RAM\\
\textbf{FiP32\_RAM} & 32 Bit Fixed Point Implementation with look-up table located in RAM\\
\textbf{Float32\_RAM} & 32 Bit Floating Point Implementation with look-up table located in RAM\\
\textbf{Float64\_RAM} & 64 Bit Floating Point Implementation with look-up table located in RAM\\
\end{tabular}

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

64 Bit Floating Point Implementation with look-up table located in RAM

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

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

\XtoCImplementation{FiP32}
\nopagebreak[0]

32 Bit Fixed Point Implementation with look-up table located in Flash memory

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

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

\XtoCImplementation{Float32}
\nopagebreak[0]

32 Bit Floating Point Implementation with look-up table located in Flash memory

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

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

\XtoCImplementation{Float64}
\nopagebreak[0]

64 Bit Floating Point Implementation with look-up table located in Flash memory

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

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

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

16 Bit Fixed Point Implementation with look-up table located in RAM

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

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

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

32 Bit Fixed Point Implementation with look-up table located in RAM

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

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

\XtoCImplementation{Float32\_RAM}
\nopagebreak[0]

32 Bit Floating Point Implementation with look-up table located in RAM

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

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

\XtoCImplementation{Float64\_RAM}
\nopagebreak[0]

64 Bit Floating Point Implementation with look-up table located in RAM

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

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

\ifdefined \AddTestReports
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_FiP16.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_FiP32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_Float32.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_Float64.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_FiP16_RAM.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_FiP32_RAM.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_Float32_RAM.tex}{}{}
\InputIfFileExists{\XcHomePath/Library/General/Doc/Test-Results/Test_LookupTable1D_Float64_RAM.tex}{}{}
\fi
\fi
