\XtoCVerification{LookupTable1D FiP16 CPU STM32F072RB}
\begin{tabular}{l l}
\textbf{Date of Test} & 2026-06-19 \\
\textbf{Target controller} & STM32F072RB \\
\end{tabular}
\vspace{1ex}
\XtoCTestCase{Inport test}{1}
Inport test for General block LookupTable1D.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|c|c|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=7]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 & ... & 67 \\ \hline
\textbf{CPU cycles} & 98 & 98 & 98 & 98 & ... & 101 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{x (DSP)} & -32768 & -31775 & -30782 & -29789 & ... & 32767 \\ \hline
\textbf{x} & -1 & -0.97 & -0.939 & -0.909 & ... & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{TableData} & \SetCell[c=6]{c}[1x257] \\ \hline
\textbf{DimX} & \SetCell[c=6]{c}257 \\ \hline
\textbf{x\_min} & \SetCell[c=6]{c}-0.8 \\ \hline
\textbf{x\_max} & \SetCell[c=6]{c}0.7 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0.8 & 0.8 & 0.8 & 0.8 & ... & -0.7 \\ \hline
\textbf{Exp. Out} & 0.8 & 0.8 & 0.8 & 0.8 & ... & -0.7 \\ \hline
\textbf{Out (DSP)} & 26213 & 26213 & 26213 & 26213 & ... & -22938 \\ \hline
\textbf{Exp. Out (DSP)} & 26214 & 26214 & 26214 & 26214 & ... & -22938 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$6,1035e-05 ($\pm$2 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 98 \\ \hline
Max CPU cycles & 175 \\ \hline
Avg CPU cycles & 112 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for General block LookupTable1D.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|X[c]|X[c]|X[c]|}}
\hline
\SetRow{lightgray} \SetCell[c=4]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 \\ \hline
\SetRow{lightgray!50} \SetCell[c=4]{l} \textit{Mask parameters} \\ \hline
\textbf{TableData} & [1x17] & [1x33] & [1x65] \\ \hline
\textbf{DimX} & 17 & 33 & 65 \\ \hline
\textbf{x\_min} & -0.5 & -0.5 & -0.5 \\ \hline
\textbf{x\_max} & 0.7 & 0.7 & 0.7 \\ \hline
\SetRow{lightgray!50} \SetCell[c=4]{l} \textit{Controller parameters} \\ \hline
\textbf{gainX} & 27307 & 27307 & 27307 \\ \hline
\textbf{offsetX} & 3277 & 3277 & 3277 \\ \hline
\textbf{maskX} & 4095 & 2047 & 1023 \\ \hline
\textbf{Table} & [1x17] & [1x33] & [1x65] \\ \hline
\textbf{minX} & -16384 & -16384 & -16384 \\ \hline
\textbf{maxX} & 22938 & 22938 & 22938 \\ \hline
\textbf{sfrX} & 12 & 11 & 10 \\ \hline
\textbf{gainXsfr} & 14 & 14 & 14 \\ \hline
\textbf{idxOffsetX} & 8 & 16 & 32 \\ \hline
\textbf{Exp. gainX} & 27307 & 27307 & 27307 \\ \hline
\textbf{Exp. offsetX} & 3277 & 3277 & 3277 \\ \hline
\textbf{Exp. maskX} & 4095 & 2047 & 1023 \\ \hline
\textbf{Exp. Table} & [1x17] & [1x33] & [1x65] \\ \hline
\textbf{Exp. minX} & -16384 & -16384 & -16384 \\ \hline
\textbf{Exp. maxX} & 22938 & 22938 & 22938 \\ \hline
\textbf{Exp. sfrX} & 12 & 11 & 10 \\ \hline
\textbf{Exp. gainXsfr} & 14 & 14 & 14 \\ \hline
\textbf{Exp. idxOffsetX} & 8 & 16 & 32 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance gainX & $\pm$0,0000e+00 \\ \hline
Tolerance offsetX & $\pm$0,0000e+00 \\ \hline
Tolerance maskX & $\pm$0,0000e+00 \\ \hline
Tolerance Table & $\pm$0,0000e+00 \\ \hline
Tolerance minX & $\pm$0,0000e+00 \\ \hline
Tolerance maxX & $\pm$0,0000e+00 \\ \hline
Tolerance sfrX & $\pm$0,0000e+00 \\ \hline
Tolerance gainXsfr & $\pm$0,0000e+00 \\ \hline
Tolerance idxOffsetX & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
