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

\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 & ... & 67 \\ \hline
\textbf{CPU cycles} & 126 & 126 & ... & 151 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{x (DSP)} & -2147483648 & -2082408386 & ... & 2147483647 \\ \hline
\textbf{x} & -1 & -0.97 & ... & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{TableData} & \SetCell[c=4]{c}[1x257] \\ \hline
\textbf{DimX} & \SetCell[c=4]{c}257 \\ \hline
\textbf{x\_min} & \SetCell[c=4]{c}-0.8 \\ \hline
\textbf{x\_max} & \SetCell[c=4]{c}0.7 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0.8 & 0.8 & ... & -0.7 \\ \hline
\textbf{Exp. Out} & 0.8 & 0.8 & ... & -0.7 \\ \hline
\textbf{Out (DSP)} & 1717986917 & 1717986917 & ... & -1503238554 \\ \hline
\textbf{Exp. Out (DSP)} & 1717986918 & 1717986918 & ... & -1503238554 \\ \hline
\end{tblr}
\vspace{1ex}

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

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 126 \\ \hline
Max CPU cycles & 157 \\ \hline
Avg CPU cycles & 149 \\ \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} & 1789569707 & 1789569707 & 1789569707 \\ \hline
\textbf{offsetX} & 214748365 & 214748365 & 214748365 \\ \hline
\textbf{maskX} & 268435455 & 134217727 & 67108863 \\ \hline
\textbf{Table} & [1x17] & [1x33] & [1x65] \\ \hline
\textbf{minX} & -1073741824 & -1073741824 & -1073741824 \\ \hline
\textbf{maxX} & 1503238554 & 1503238554 & 1503238554 \\ \hline
\textbf{sfrX} & 28 & 27 & 26 \\ \hline
\textbf{gainXsfr} & 30 & 30 & 30 \\ \hline
\textbf{idxOffsetX} & 8 & 16 & 32 \\ \hline
\textbf{Exp. gainX} & 1789569707 & 1789569707 & 1789569707 \\ \hline
\textbf{Exp. offsetX} & 214748365 & 214748365 & 214748365 \\ \hline
\textbf{Exp. maskX} & 268435455 & 134217727 & 67108863 \\ \hline
\textbf{Exp. Table} & [1x17] & [1x33] & [1x65] \\ \hline
\textbf{Exp. minX} & -1073741824 & -1073741824 & -1073741824 \\ \hline
\textbf{Exp. maxX} & 1503238554 & 1503238554 & 1503238554 \\ \hline
\textbf{Exp. sfrX} & 28 & 27 & 26 \\ \hline
\textbf{Exp. gainXsfr} & 30 & 30 & 30 \\ \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}
