\XtoCVerification{Average FiP16 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|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=7]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 & ... & 113 \\ \hline
\textbf{CPU cycles} & 72 & 72 & 72 & 72 & ... & 72 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & -145 & 2369 & 4 & -2087 & ... & -1015 \\ \hline
\textbf{In} & -0.004 & 0.072 & 0 & -0.064 & ... & -0.031 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{n} & \SetCell[c=6]{c}1 \\ \hline
\textbf{ts\_fact} & \SetCell[c=6]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -0.004 & 0.072 & 0 & -0.064 & ... & -0.031 \\ \hline
\textbf{Exp. Out} & -0.004 & 0.072 & 0 & -0.064 & ... & -0.031 \\ \hline
\textbf{Out (DSP)} & -145 & 2369 & 4 & -2087 & ... & -1015 \\ \hline
\textbf{Exp. Out (DSP)} & -145 & 2369 & 4 & -2087 & ... & -1015 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$3,0518e-05 ($\pm$1 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 72 \\ \hline
Max CPU cycles & 72 \\ \hline
Avg CPU cycles & 72 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Inport test}{1}
Inport test for Math block Average.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|c|c|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=7]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 & ... & 113 \\ \hline
\textbf{CPU cycles} & 73 & 73 & 73 & 72 & ... & 73 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & -4188 & 340 & -3895 & 355 & ... & -3177 \\ \hline
\textbf{In} & -0.128 & 0.01 & -0.119 & 0.011 & ... & -0.097 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{n} & \SetCell[c=6]{c}4 \\ \hline
\textbf{ts\_fact} & \SetCell[c=6]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -0.032 & -0.029 & -0.059 & -0.056 & ... & 0.091 \\ \hline
\textbf{Exp. Out} & -0.032 & -0.029 & -0.059 & -0.056 & ... & 0.091 \\ \hline
\textbf{Out (DSP)} & -1047 & -962 & -1936 & -1847 & ... & 2994 \\ \hline
\textbf{Exp. Out (DSP)} & -1047 & -962 & -1936 & -1847 & ... & 2994 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$6,1035e-05 ($\pm$2 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 72 \\ \hline
Max CPU cycles & 73 \\ \hline
Avg CPU cycles & 72 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Inport test}{1}
Inport test for Math block Average.

\vspace{1em}
\begin{tblr}{width=\textwidth, colspec={|c|c|c|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=7]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 & ... & 113 \\ \hline
\textbf{CPU cycles} & 73 & 73 & 73 & 73 & ... & 73 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & 4496 & -3777 & 1239 & -7107 & ... & 2679 \\ \hline
\textbf{In} & 0.137 & -0.115 & 0.038 & -0.217 & ... & 0.082 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{n} & \SetCell[c=6]{c}32 \\ \hline
\textbf{ts\_fact} & \SetCell[c=6]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0.004 & 0.001 & 0.002 & -0.005 & ... & 0.528 \\ \hline
\textbf{Exp. Out} & 0.004 & 0.001 & 0.002 & -0.005 & ... & 0.528 \\ \hline
\textbf{Out (DSP)} & 140 & 22 & 61 & -161 & ... & 17314 \\ \hline
\textbf{Exp. Out (DSP)} & 141 & 22 & 61 & -161 & ... & 17315 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$6,1035e-05 ($\pm$2 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 72 \\ \hline
Max CPU cycles & 73 \\ \hline
Avg CPU cycles & 72 \\ \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 & 3345 \\ \hline
Max CPU cycles & 3348 \\ \hline
Avg CPU cycles & 3347 \\ \hline
\end{XtoCtabular}
