\XtoCVerification{TDSystemO2 FiP32 CPU PIC32MX170F256}
\begin{tabular}{l l}
\textbf{Date of Test} & 2026-06-19 \\
\textbf{Target controller} & PIC32MX170F256 \\
\end{tabular}
\vspace{1ex}
\XtoCTestCase{Inport test}{1}
Inport test for Control block TDSystemO2.

\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 & ... & 174 \\ \hline
\textbf{CPU cycles} & 274 & 274 & ... & 274 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In1 (DSP)} & 0 & -214390630 & ... & -1288490189 \\ \hline
\textbf{In2 (DSP)} & -2147483648 & -2136755175 & ... & -1288490189 \\ \hline
\textbf{In1} & -0 & -0.1 & ... & -0.6 \\ \hline
\textbf{In2} & -1 & -0.995 & ... & -0.6 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{A} & \SetCell[c=4]{c}[1x4] \\ \hline
\textbf{B} & \SetCell[c=4]{c}[1x4] \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out1} & 0 & -0.28 & ... & -0.898 \\ \hline
\textbf{Out2} & 0 & -0.08 & ... & -0.432 \\ \hline
\textbf{Exp. Out1} & 0 & -0.28 & ... & -0.898 \\ \hline
\textbf{Exp. Out2} & 0 & -0.08 & ... & -0.432 \\ \hline
\textbf{Out1 (DSP)} & 0 & -601295421 & ... & -1927381242 \\ \hline
\textbf{Out2 (DSP)} & 0 & -171798692 & ... & -927641873 \\ \hline
\textbf{Exp. Out1 (DSP)} & 0 & -601295421 & ... & -1927381237 \\ \hline
\textbf{Exp. Out2 (DSP)} & 0 & -171798692 & ... & -927641869 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out1 & $\pm$3,7253e-09 ($\pm$8 LSB) \\ \hline
Tolerance Out2 & $\pm$3,7253e-09 ($\pm$8 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 274 \\ \hline
Max CPU cycles & 280 \\ \hline
Avg CPU cycles & 275 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for Control block TDSystemO2.

\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{A} & [1x4] & [1x4] & [1x4] \\ \hline
\textbf{B} & [1x4] & [1x4] & [1x4] \\ \hline
\SetRow{lightgray!50} \SetCell[c=4]{l} \textit{Controller parameters} \\ \hline
\textbf{a11} & 0 & 0 & 0 \\ \hline
\textbf{a22} & 2013265920 & 1610612736 & 644245094 \\ \hline
\textbf{b21} & 1342177280 & 1073741824 & 429496730 \\ \hline
\textbf{a21} & 1342177280 & 1073741824 & 429496730 \\ \hline
\textbf{b12} & 1342177280 & 1073741824 & 214748365 \\ \hline
\textbf{a12} & 1342177280 & 1073741824 & 214748365 \\ \hline
\textbf{b11} & 0 & 0 & 0 \\ \hline
\textbf{b22} & 2013265920 & 1610612736 & 644245094 \\ \hline
\textbf{sfrb12} & 27 & 30 & 31 \\ \hline
\textbf{sfra12} & 27 & 30 & 31 \\ \hline
\textbf{sfrb11} & 31 & 31 & 31 \\ \hline
\textbf{sfrb22} & 26 & 29 & 31 \\ \hline
\textbf{sfra11} & 31 & 31 & 31 \\ \hline
\textbf{sfra22} & 26 & 29 & 31 \\ \hline
\textbf{sfrb21} & 26 & 29 & 31 \\ \hline
\textbf{sfra21} & 26 & 29 & 31 \\ \hline
\textbf{Exp. a11} & 0 & 0 & 0 \\ \hline
\textbf{Exp. a22} & 2013265920 & 1610612736 & 644245094 \\ \hline
\textbf{Exp. b21} & 1342177280 & 1073741824 & 429496730 \\ \hline
\textbf{Exp. a21} & 1342177280 & 1073741824 & 429496730 \\ \hline
\textbf{Exp. b12} & 1342177280 & 1073741824 & 214748365 \\ \hline
\textbf{Exp. a12} & 1342177280 & 1073741824 & 214748365 \\ \hline
\textbf{Exp. b11} & 0 & 0 & 0 \\ \hline
\textbf{Exp. b22} & 2013265920 & 1610612736 & 644245094 \\ \hline
\textbf{Exp. sfrb12} & 27 & 30 & 31 \\ \hline
\textbf{Exp. sfra12} & 27 & 30 & 31 \\ \hline
\textbf{Exp. sfrb11} & 31 & 31 & 31 \\ \hline
\textbf{Exp. sfrb22} & 26 & 29 & 31 \\ \hline
\textbf{Exp. sfra11} & 31 & 31 & 31 \\ \hline
\textbf{Exp. sfra22} & 26 & 29 & 31 \\ \hline
\textbf{Exp. sfrb21} & 26 & 29 & 31 \\ \hline
\textbf{Exp. sfra21} & 26 & 29 & 31 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance a11 & $\pm$0,0000e+00 \\ \hline
Tolerance a22 & $\pm$0,0000e+00 \\ \hline
Tolerance b21 & $\pm$0,0000e+00 \\ \hline
Tolerance a21 & $\pm$0,0000e+00 \\ \hline
Tolerance b12 & $\pm$0,0000e+00 \\ \hline
Tolerance a12 & $\pm$0,0000e+00 \\ \hline
Tolerance b11 & $\pm$0,0000e+00 \\ \hline
Tolerance b22 & $\pm$0,0000e+00 \\ \hline
Tolerance sfrb12 & $\pm$0,0000e+00 \\ \hline
Tolerance sfra12 & $\pm$0,0000e+00 \\ \hline
Tolerance sfrb11 & $\pm$0,0000e+00 \\ \hline
Tolerance sfrb22 & $\pm$0,0000e+00 \\ \hline
Tolerance sfra11 & $\pm$0,0000e+00 \\ \hline
Tolerance sfra22 & $\pm$0,0000e+00 \\ \hline
Tolerance sfrb21 & $\pm$0,0000e+00 \\ \hline
Tolerance sfra21 & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
