\XtoCVerification{LookupTable3D FiP32 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|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=5]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & ... & 19 \\ \hline
\textbf{CPU cycles} & 652 & 652 & ... & 694 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{x (DSP)} & -2147483648 & -1908874354 & ... & 2147483647 \\ \hline
\textbf{y (DSP)} & -1932735283 & -1729917383 & ... & 1717986918 \\ \hline
\textbf{z (DSP)} & -1717986918 & -1539029948 & ... & 1503238554 \\ \hline
\textbf{x} & -1 & -0.889 & ... & 1 \\ \hline
\textbf{y} & -0.9 & -0.806 & ... & 0.8 \\ \hline
\textbf{z} & -0.8 & -0.717 & ... & 0.7 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{TableData} & \SetCell[c=4]{c}[1x765] \\ \hline
\textbf{DimX} & \SetCell[c=4]{c}9 \\ \hline
\textbf{x\_min} & \SetCell[c=4]{c}-0.8 \\ \hline
\textbf{x\_max} & \SetCell[c=4]{c}0.7 \\ \hline
\textbf{DimY} & \SetCell[c=4]{c}17 \\ \hline
\textbf{y\_max} & \SetCell[c=4]{c}0.9 \\ \hline
\textbf{y\_min} & \SetCell[c=4]{c}-0.6 \\ \hline
\textbf{DimZ} & \SetCell[c=4]{c}5 \\ \hline
\textbf{z\_min} & \SetCell[c=4]{c}-0.9 \\ \hline
\textbf{z\_max} & \SetCell[c=4]{c}0.95 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0.56 & 0.502 & ... & 0.525 \\ \hline
\textbf{Exp. Out} & 0.56 & 0.502 & ... & 0.525 \\ \hline
\textbf{Out (DSP)} & 1202590840 & 1077320961 & ... & 1127428909 \\ \hline
\textbf{Exp. Out (DSP)} & 1202590843 & 1077320963 & ... & 1127428915 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$4,6566e-09 ($\pm$10 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 652 \\ \hline
Max CPU cycles & 711 \\ \hline
Avg CPU cycles & 698 \\ \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} & 536870911 \\ \hline
\textbf{maskX} & 1073741823 \\ \hline
\textbf{maskZ} & 2147483647 \\ \hline
\textbf{maxZ} & 2040109466 \\ \hline
\textbf{maxY} & 1932735283 \\ \hline
\textbf{maxX} & 1503238554 \\ \hline
\textbf{sfrX} & 30 \\ \hline
\textbf{sfrZ} & 31 \\ \hline
\textbf{sfrY} & 29 \\ \hline
\textbf{offsetX} & -107374182 \\ \hline
\textbf{offsetZ} & 53687091 \\ \hline
\textbf{offsetY} & 322122547 \\ \hline
\textbf{gainXsfr} & 30 \\ \hline
\textbf{gainZsfr} & 30 \\ \hline
\textbf{gainX} & 1431655765 \\ \hline
\textbf{gainZ} & 1160801972 \\ \hline
\textbf{Table} & [1x135] \\ \hline
\textbf{gainY} & 1431655765 \\ \hline
\textbf{sizeX} & 5 \\ \hline
\textbf{minY} & -1288490189 \\ \hline
\textbf{minX} & -1717986918 \\ \hline
\textbf{minZ} & -1932735283 \\ \hline
\textbf{idxOffsetY} & 4 \\ \hline
\textbf{idxOffsetX} & 2 \\ \hline
\textbf{sizeY} & 9 \\ \hline
\textbf{idxOffsetZ} & 1 \\ \hline
\textbf{sizeXY} & 45 \\ \hline
\textbf{gainYsfr} & 30 \\ \hline
\textbf{Exp. maskY} & 536870911 \\ \hline
\textbf{Exp. maskX} & 1073741823 \\ \hline
\textbf{Exp. maskZ} & 2147483647 \\ \hline
\textbf{Exp. maxZ} & 2040109466 \\ \hline
\textbf{Exp. maxY} & 1932735283 \\ \hline
\textbf{Exp. maxX} & 1503238554 \\ \hline
\textbf{Exp. sfrX} & 30 \\ \hline
\textbf{Exp. sfrZ} & 31 \\ \hline
\textbf{Exp. sfrY} & 29 \\ \hline
\textbf{Exp. offsetX} & -107374182 \\ \hline
\textbf{Exp. offsetZ} & 53687091 \\ \hline
\textbf{Exp. offsetY} & 322122547 \\ \hline
\textbf{Exp. gainXsfr} & 30 \\ \hline
\textbf{Exp. gainZsfr} & 30 \\ \hline
\textbf{Exp. gainX} & 1431655765 \\ \hline
\textbf{Exp. gainZ} & 1160801972 \\ \hline
\textbf{Exp. Table} & [1x135] \\ \hline
\textbf{Exp. gainY} & 1431655765 \\ \hline
\textbf{Exp. sizeX} & 5 \\ \hline
\textbf{Exp. minY} & -1288490189 \\ \hline
\textbf{Exp. minX} & -1717986918 \\ \hline
\textbf{Exp. minZ} & -1932735283 \\ \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} & 30 \\ \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}
