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

\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 & ... & 113 \\ \hline
\textbf{CPU cycles} & 87 & 87 & ... & 87 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & -9515881 & 155233746 & ... & -66486533 \\ \hline
\textbf{In} & -0.004 & 0.072 & ... & -0.031 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{n} & \SetCell[c=4]{c}1 \\ \hline
\textbf{ts\_fact} & \SetCell[c=4]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -0.004 & 0.072 & ... & -0.031 \\ \hline
\textbf{Exp. Out} & -0.004 & 0.072 & ... & -0.031 \\ \hline
\textbf{Out (DSP)} & -9515881 & 155233746 & ... & -66486533 \\ \hline
\textbf{Exp. Out (DSP)} & -9515881 & 155233746 & ... & -66486533 \\ \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 & 87 \\ \hline
Max CPU cycles & 87 \\ \hline
Avg CPU cycles & 87 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Inport test}{1}
Inport test for Math block Average.

\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 & ... & 113 \\ \hline
\textbf{CPU cycles} & 108 & 108 & ... & 108 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & -274451780 & 22274693 & ... & -208184544 \\ \hline
\textbf{In} & -0.128 & 0.01 & ... & -0.097 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{n} & \SetCell[c=4]{c}4 \\ \hline
\textbf{ts\_fact} & \SetCell[c=4]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -0.032 & -0.029 & ... & 0.091 \\ \hline
\textbf{Exp. Out} & -0.032 & -0.029 & ... & 0.091 \\ \hline
\textbf{Out (DSP)} & -68612945 & -63044272 & ... & 196244641 \\ \hline
\textbf{Exp. Out (DSP)} & -68612945 & -63044272 & ... & 196244642 \\ \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 & 107 \\ \hline
Max CPU cycles & 108 \\ \hline
Avg CPU cycles & 107 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Inport test}{1}
Inport test for Math block Average.

\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 & ... & 113 \\ \hline
\textbf{CPU cycles} & 138 & 138 & ... & 138 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & 294667413 & -247518422 & ... & 175553610 \\ \hline
\textbf{In} & 0.137 & -0.115 & ... & 0.082 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{n} & \SetCell[c=4]{c}32 \\ \hline
\textbf{ts\_fact} & \SetCell[c=4]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0.004 & 0.001 & ... & 0.528 \\ \hline
\textbf{Exp. Out} & 0.004 & 0.001 & ... & 0.528 \\ \hline
\textbf{Out (DSP)} & 9208356 & 1473405 & ... & 1134727469 \\ \hline
\textbf{Exp. Out (DSP)} & 9208357 & 1473406 & ... & 1134727470 \\ \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 & 137 \\ \hline
Max CPU cycles & 138 \\ \hline
Avg CPU cycles & 137 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for Math block Average.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|X[c]|X[c]|X[c]|X[c]|}}
\hline
\SetRow{lightgray} \SetCell[c=5]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{n} & 1 & 2 & 4 & 256 \\ \hline
\textbf{ts\_fact} & 1 & 1 & 1 & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{sfrn} & 0 & 1 & 2 & 8 \\ \hline
\textbf{n} & 1 & 2 & 4 & 256 \\ \hline
\textbf{Exp. sfrn} & 0 & 1 & 2 & 8 \\ \hline
\textbf{Exp. n} & 1 & 2 & 4 & 256 \\ \hline
\end{tblr}
\vspace{1ex}

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

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|X[c]|X[c]|X[c]|X[c]|}}
\hline
\SetRow{lightgray} \SetCell[c=5]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{n} & 1 & 2 & 4 & 256 \\ \hline
\textbf{ts\_fact} & 1 & 1 & 1 & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{sfrn} & 0 & 1 & 2 & 8 \\ \hline
\textbf{n} & 1 & 2 & 4 & 256 \\ \hline
\textbf{Exp. sfrn} & 0 & 1 & 2 & 8 \\ \hline
\textbf{Exp. n} & 1 & 2 & 4 & 256 \\ \hline
\end{tblr}
\vspace{1ex}

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

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 2321 \\ \hline
Max CPU cycles & 2324 \\ \hline
Avg CPU cycles & 2323 \\ \hline
\end{XtoCtabular}
