\XtoCVerification{LookupTable3D Float32 CPU dsPIC33EP256MC502}
\begin{tabular}{l l}
\textbf{Date of Test} & 2026-06-19 \\
\textbf{Target controller} & dsPIC33EP256MC502 \\
\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} & 8253 & 8253 & ... & 10165 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{x (DSP)} & -1.1 & -0.978 & ... & 1.1 \\ \hline
\textbf{y (DSP)} & -1.35 & -1.208 & ... & 1.2 \\ \hline
\textbf{z (DSP)} & -2.16 & -1.935 & ... & 1.89 \\ \hline
\textbf{x} & -1.1 & -0.978 & ... & 1.1 \\ \hline
\textbf{y} & -1.35 & -1.208 & ... & 1.2 \\ \hline
\textbf{z} & -2.16 & -1.935 & ... & 1.89 \\ \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} & 1.953 & 1.953 & ... & 2.356 \\ \hline
\textbf{Exp. Out} & 1.953 & 1.953 & ... & 2.356 \\ \hline
\textbf{Out (DSP)} & 1.953 & 1.953 & ... & 2.356 \\ \hline
\textbf{Exp. Out (DSP)} & 1.953 & 1.953 & ... & 2.356 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$9,3132e-07 ($\pm$2000 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 8253 \\ \hline
Max CPU cycles & 11431 \\ \hline
Avg CPU cycles & 9995 \\ \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{gainX} & 2.667 \\ \hline
\textbf{gainZ} & 1.081 \\ \hline
\textbf{Table} & [1x135] \\ \hline
\textbf{gainY} & 5.333 \\ \hline
\textbf{maxZ} & 0.95 \\ \hline
\textbf{maxY} & 0.9 \\ \hline
\textbf{maxX} & 0.7 \\ \hline
\textbf{offsetX} & -0.8 \\ \hline
\textbf{sizeX} & 5 \\ \hline
\textbf{offsetZ} & -0.9 \\ \hline
\textbf{offsetY} & -0.6 \\ \hline
\textbf{minY} & -0.6 \\ \hline
\textbf{minX} & -0.8 \\ \hline
\textbf{minZ} & -0.9 \\ \hline
\textbf{dimZ} & 2 \\ \hline
\textbf{dimY} & 8 \\ \hline
\textbf{sizeY} & 9 \\ \hline
\textbf{dimX} & 4 \\ \hline
\textbf{sizeXY} & 45 \\ \hline
\textbf{Exp. gainX} & 2.667 \\ \hline
\textbf{Exp. gainZ} & 1.081 \\ \hline
\textbf{Exp. Table} & [1x135] \\ \hline
\textbf{Exp. gainY} & 5.333 \\ \hline
\textbf{Exp. maxZ} & 0.95 \\ \hline
\textbf{Exp. maxY} & 0.9 \\ \hline
\textbf{Exp. maxX} & 0.7 \\ \hline
\textbf{Exp. offsetX} & -0.8 \\ \hline
\textbf{Exp. sizeX} & 5 \\ \hline
\textbf{Exp. offsetZ} & -0.9 \\ \hline
\textbf{Exp. offsetY} & -0.6 \\ \hline
\textbf{Exp. minY} & -0.6 \\ \hline
\textbf{Exp. minX} & -0.8 \\ \hline
\textbf{Exp. minZ} & -0.9 \\ \hline
\textbf{Exp. dimZ} & 2 \\ \hline
\textbf{Exp. dimY} & 8 \\ \hline
\textbf{Exp. sizeY} & 9 \\ \hline
\textbf{Exp. dimX} & 4 \\ \hline
\textbf{Exp. sizeXY} & 45 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
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 maxZ & $\pm$0,0000e+00 \\ \hline
Tolerance maxY & $\pm$0,0000e+00 \\ \hline
Tolerance maxX & $\pm$0,0000e+00 \\ \hline
Tolerance offsetX & $\pm$0,0000e+00 \\ \hline
Tolerance sizeX & $\pm$0,0000e+00 \\ \hline
Tolerance offsetZ & $\pm$0,0000e+00 \\ \hline
Tolerance offsetY & $\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 dimZ & $\pm$0,0000e+00 \\ \hline
Tolerance dimY & $\pm$0,0000e+00 \\ \hline
Tolerance sizeY & $\pm$0,0000e+00 \\ \hline
Tolerance dimX & $\pm$0,0000e+00 \\ \hline
Tolerance sizeXY & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
