\XtoCVerification{Sum 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 Math block Sum.

\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 & ... & 74 \\ \hline
\textbf{CPU cycles} & 158 & 154 & ... & 153 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In1 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In2 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In3 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In4 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In5 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In6 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In7 (DSP)} & -2147483648 & -2028179001 & ... & 2147483647 \\ \hline
\textbf{In8 (DSP)} & -2147483648 & -2088648480 & ... & 2147483647 \\ \hline
\textbf{In1} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In2} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In3} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In4} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In5} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In6} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In7} & -1 & -0.944 & ... & 1 \\ \hline
\textbf{In8} & -1 & -0.973 & ... & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{In1} & \SetCell[c=4]{c}+ \\ \hline
\textbf{In2} & \SetCell[c=4]{c}+ \\ \hline
\textbf{In3} & \SetCell[c=4]{c}+ \\ \hline
\textbf{In4} & \SetCell[c=4]{c}- \\ \hline
\textbf{In5} & \SetCell[c=4]{c}- \\ \hline
\textbf{In6} & \SetCell[c=4]{c}- \\ \hline
\textbf{In7} & \SetCell[c=4]{c}0 \\ \hline
\textbf{In8} & \SetCell[c=4]{c}+ \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -1 & -0.973 & ... & 1 \\ \hline
\textbf{Exp. Out} & -1 & -0.973 & ... & 1 \\ \hline
\textbf{Out (DSP)} & -2147483647 & -2088648480 & ... & 2147483647 \\ \hline
\textbf{Exp. Out (DSP)} & -2147483648 & -2088648480 & ... & 2147483647 \\ \hline
\end{tblr}
\vspace{1ex}

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

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 153 \\ \hline
Max CPU cycles & 158 \\ \hline
Avg CPU cycles & 153 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for Math block Sum.

\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{In1} & + & - & 0 \\ \hline
\textbf{In2} & + & - & 0 \\ \hline
\textbf{In3} & + & - & 0 \\ \hline
\textbf{In4} & + & - & 0 \\ \hline
\textbf{In5} & + & - & 0 \\ \hline
\textbf{In6} & + & - & 0 \\ \hline
\textbf{In7} & + & - & 0 \\ \hline
\textbf{In8} & + & - & 0 \\ \hline
\SetRow{lightgray!50} \SetCell[c=4]{l} \textit{Controller parameters} \\ \hline
\textbf{sign} & 21845 & 43690 & 0 \\ \hline
\textbf{Exp. sign} & 21845 & 43690 & 0 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance sign & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion-on-Target test}{1}
Conversion-on-Target test for Math block Sum.

\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{In1} & + & - & 0 \\ \hline
\textbf{In2} & + & - & 0 \\ \hline
\textbf{In3} & + & - & 0 \\ \hline
\textbf{In4} & + & - & 0 \\ \hline
\textbf{In5} & + & - & 0 \\ \hline
\textbf{In6} & + & - & 0 \\ \hline
\textbf{In7} & + & - & 0 \\ \hline
\textbf{In8} & + & - & 0 \\ \hline
\SetRow{lightgray!50} \SetCell[c=4]{l} \textit{Controller parameters} \\ \hline
\textbf{sign} & 21845 & 43690 & 0 \\ \hline
\textbf{Exp. sign} & 21845 & 43690 & 0 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance sign & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 280 \\ \hline
Max CPU cycles & 301 \\ \hline
Avg CPU cycles & 293 \\ \hline
\end{XtoCtabular}
