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

\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 & ... & 201 \\ \hline
\textbf{CPU cycles} & 53 & 53 & ... & 238 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & 0 & 0 & ... & 0 \\ \hline
\textbf{I0 (DSP)} & 236223201 & 236223201 & ... & 236223201 \\ \hline
\textbf{Enable (DSP)} & 0 & 0 & ... & 1 \\ \hline
\textbf{In} & 0 & 0 & ... & 0 \\ \hline
\textbf{I0} & 0.11 & 0.11 & ... & 0.11 \\ \hline
\textbf{Enable} & 0 & 0 & ... & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{Ki} & \SetCell[c=4]{c}2500 \\ \hline
\textbf{ts\_fact} & \SetCell[c=4]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0 & 0 & ... & -1 \\ \hline
\textbf{Exp. Out} & 0 & 0 & ... & -1 \\ \hline
\textbf{Out (DSP)} & 0 & 0 & ... & -2147483647 \\ \hline
\textbf{Exp. Out (DSP)} & 0 & 0 & ... & -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 & 53 \\ \hline
Max CPU cycles & 261 \\ \hline
Avg CPU cycles & 237 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for Control block I.

\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 & ... & 37 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{Ki} & -11 & -10.389 & ... & 11 \\ \hline
\textbf{ts\_fact} & 1 & 2 & ... & 37 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{b0} & -2362232 & -4461994 & ... & 87402584 \\ \hline
\textbf{sfr} & 31 & 31 & ... & 31 \\ \hline
\textbf{Exp. b0} & -2362232 & -4461994 & ... & 87402584 \\ \hline
\textbf{Exp. sfr} & 31 & 31 & ... & 31 \\ \hline
\end{tblr}
\vspace{1ex}

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

\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 & ... & 37 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{Ki} & -11 & -10.389 & ... & 11 \\ \hline
\textbf{ts\_fact} & 1 & 2 & ... & 37 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{b0} & -2362232 & -4461994 & ... & 87402584 \\ \hline
\textbf{sfr} & 31 & 31 & ... & 31 \\ \hline
\textbf{Exp. b0} & -2362232 & -4461994 & ... & 87402584 \\ \hline
\textbf{Exp. sfr} & 31 & 31 & ... & 31 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance b0 & $\pm$1,0000e+01 \\ \hline
Tolerance sfr & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 4539 \\ \hline
Max CPU cycles & 5609 \\ \hline
Avg CPU cycles & 5551 \\ \hline
\end{XtoCtabular}
