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

\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 & ... & 19 \\ \hline
\textbf{CPU cycles} & 424 & 424 & 443 & 443 & ... & 452 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{x (DSP)} & -32768 & -29127 & -25486 & -21845 & ... & 32767 \\ \hline
\textbf{y (DSP)} & -29491 & -26396 & -23302 & -20207 & ... & 26214 \\ \hline
\textbf{z (DSP)} & -26214 & -23484 & -20753 & -18022 & ... & 22938 \\ \hline
\textbf{x} & -1 & -0.889 & -0.778 & -0.667 & ... & 1 \\ \hline
\textbf{y} & -0.9 & -0.806 & -0.711 & -0.617 & ... & 0.8 \\ \hline
\textbf{z} & -0.8 & -0.717 & -0.633 & -0.55 & ... & 0.7 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{TableData} & \SetCell[c=6]{c}[1x765] \\ \hline
\textbf{DimX} & \SetCell[c=6]{c}9 \\ \hline
\textbf{x\_min} & \SetCell[c=6]{c}-0.8 \\ \hline
\textbf{x\_max} & \SetCell[c=6]{c}0.7 \\ \hline
\textbf{DimY} & \SetCell[c=6]{c}17 \\ \hline
\textbf{y\_max} & \SetCell[c=6]{c}0.9 \\ \hline
\textbf{y\_min} & \SetCell[c=6]{c}-0.6 \\ \hline
\textbf{DimZ} & \SetCell[c=6]{c}5 \\ \hline
\textbf{z\_min} & \SetCell[c=6]{c}-0.9 \\ \hline
\textbf{z\_max} & \SetCell[c=6]{c}0.95 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0.56 & 0.502 & 0.436 & 0.348 & ... & 0.525 \\ \hline
\textbf{Exp. Out} & 0.56 & 0.502 & 0.436 & 0.348 & ... & 0.525 \\ \hline
\textbf{Out (DSP)} & 18346 & 16435 & 14292 & 11410 & ... & 17198 \\ \hline
\textbf{Exp. Out (DSP)} & 18350 & 16439 & 14297 & 11414 & ... & 17203 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$3,0518e-04 ($\pm$10 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 424 \\ \hline
Max CPU cycles & 460 \\ \hline
Avg CPU cycles & 453 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for General block LookupTable3D.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|X[c]|}}
\hline
\SetRow{lightgray} \SetCell[c=2]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=2]{l} \textit{Mask parameters} \\ \hline
\textbf{TableData} & [1x135] \\ \hline
\textbf{DimX} & 5 \\ \hline
\textbf{x\_min} & -0.8 \\ \hline
\textbf{x\_max} & 0.7 \\ \hline
\textbf{DimY} & 9 \\ \hline
\textbf{y\_max} & 0.9 \\ \hline
\textbf{y\_min} & -0.6 \\ \hline
\textbf{DimZ} & 3 \\ \hline
\textbf{z\_min} & -0.9 \\ \hline
\textbf{z\_max} & 0.95 \\ \hline
\SetRow{lightgray!50} \SetCell[c=2]{l} \textit{Controller parameters} \\ \hline
\textbf{maskY} & 8191 \\ \hline
\textbf{maskX} & 16383 \\ \hline
\textbf{maskZ} & 32767 \\ \hline
\textbf{maxZ} & 31130 \\ \hline
\textbf{maxY} & 29491 \\ \hline
\textbf{maxX} & 22938 \\ \hline
\textbf{sfrX} & 14 \\ \hline
\textbf{sfrZ} & 15 \\ \hline
\textbf{sfrY} & 13 \\ \hline
\textbf{offsetX} & -1638 \\ \hline
\textbf{offsetZ} & 819 \\ \hline
\textbf{offsetY} & 4915 \\ \hline
\textbf{gainXsfr} & 14 \\ \hline
\textbf{gainZsfr} & 14 \\ \hline
\textbf{gainX} & 21845 \\ \hline
\textbf{gainZ} & 17712 \\ \hline
\textbf{Table} & [1x135] \\ \hline
\textbf{gainY} & 21845 \\ \hline
\textbf{sizeX} & 5 \\ \hline
\textbf{minY} & -19661 \\ \hline
\textbf{minX} & -26214 \\ \hline
\textbf{minZ} & -29491 \\ \hline
\textbf{idxOffsetY} & 4 \\ \hline
\textbf{idxOffsetX} & 2 \\ \hline
\textbf{sizeY} & 9 \\ \hline
\textbf{idxOffsetZ} & 1 \\ \hline
\textbf{sizeXY} & 45 \\ \hline
\textbf{gainYsfr} & 14 \\ \hline
\textbf{Exp. maskY} & 8191 \\ \hline
\textbf{Exp. maskX} & 16383 \\ \hline
\textbf{Exp. maskZ} & 32767 \\ \hline
\textbf{Exp. maxZ} & 31130 \\ \hline
\textbf{Exp. maxY} & 29491 \\ \hline
\textbf{Exp. maxX} & 22938 \\ \hline
\textbf{Exp. sfrX} & 14 \\ \hline
\textbf{Exp. sfrZ} & 15 \\ \hline
\textbf{Exp. sfrY} & 13 \\ \hline
\textbf{Exp. offsetX} & -1638 \\ \hline
\textbf{Exp. offsetZ} & 819 \\ \hline
\textbf{Exp. offsetY} & 4915 \\ \hline
\textbf{Exp. gainXsfr} & 14 \\ \hline
\textbf{Exp. gainZsfr} & 14 \\ \hline
\textbf{Exp. gainX} & 21845 \\ \hline
\textbf{Exp. gainZ} & 17712 \\ \hline
\textbf{Exp. Table} & [1x135] \\ \hline
\textbf{Exp. gainY} & 21845 \\ \hline
\textbf{Exp. sizeX} & 5 \\ \hline
\textbf{Exp. minY} & -19661 \\ \hline
\textbf{Exp. minX} & -26214 \\ \hline
\textbf{Exp. minZ} & -29491 \\ \hline
\textbf{Exp. idxOffsetY} & 4 \\ \hline
\textbf{Exp. idxOffsetX} & 2 \\ \hline
\textbf{Exp. sizeY} & 9 \\ \hline
\textbf{Exp. idxOffsetZ} & 1 \\ \hline
\textbf{Exp. sizeXY} & 45 \\ \hline
\textbf{Exp. gainYsfr} & 14 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance maskY & $\pm$0,0000e+00 \\ \hline
Tolerance maskX & $\pm$0,0000e+00 \\ \hline
Tolerance maskZ & $\pm$0,0000e+00 \\ \hline
Tolerance maxZ & $\pm$0,0000e+00 \\ \hline
Tolerance maxY & $\pm$0,0000e+00 \\ \hline
Tolerance maxX & $\pm$0,0000e+00 \\ \hline
Tolerance sfrX & $\pm$0,0000e+00 \\ \hline
Tolerance sfrZ & $\pm$0,0000e+00 \\ \hline
Tolerance sfrY & $\pm$0,0000e+00 \\ \hline
Tolerance offsetX & $\pm$0,0000e+00 \\ \hline
Tolerance offsetZ & $\pm$0,0000e+00 \\ \hline
Tolerance offsetY & $\pm$0,0000e+00 \\ \hline
Tolerance gainXsfr & $\pm$0,0000e+00 \\ \hline
Tolerance gainZsfr & $\pm$0,0000e+00 \\ \hline
Tolerance gainX & $\pm$0,0000e+00 \\ \hline
Tolerance gainZ & $\pm$0,0000e+00 \\ \hline
Tolerance Table & $\pm$0,0000e+00 \\ \hline
Tolerance gainY & $\pm$0,0000e+00 \\ \hline
Tolerance sizeX & $\pm$0,0000e+00 \\ \hline
Tolerance minY & $\pm$0,0000e+00 \\ \hline
Tolerance minX & $\pm$0,0000e+00 \\ \hline
Tolerance minZ & $\pm$0,0000e+00 \\ \hline
Tolerance idxOffsetY & $\pm$0,0000e+00 \\ \hline
Tolerance idxOffsetX & $\pm$0,0000e+00 \\ \hline
Tolerance sizeY & $\pm$0,0000e+00 \\ \hline
Tolerance idxOffsetZ & $\pm$0,0000e+00 \\ \hline
Tolerance sizeXY & $\pm$0,0000e+00 \\ \hline
Tolerance gainYsfr & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
