\XtoCVerification{AutoSwitch Float32 CPU TMS320F28335}
\begin{tabular}{l l}
\textbf{Date of Test} & 2026-06-19 \\
\textbf{Target controller} & TMS320F28335 \\
\end{tabular}
\vspace{1ex}
\XtoCTestCase{Inport test}{1}
Inport test for General block AutoSwitch.

\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 & ... & 137 \\ \hline
\textbf{CPU cycles} & 73 & 73 & ... & 73 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In1 (DSP)} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Switch (DSP)} & 0.916 & 0.859 & ... & 0.44 \\ \hline
\textbf{In3 (DSP)} & 1 & 0.986 & ... & -0.986 \\ \hline
\textbf{In1} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Switch} & 0.916 & 0.859 & ... & 0.44 \\ \hline
\textbf{In3} & 1 & 0.986 & ... & -0.986 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{Thresh\_up} & \SetCell[c=4]{c}0.3 \\ \hline
\textbf{Thresh\_down} & \SetCell[c=4]{c}-0.1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Exp. Out} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Out (DSP)} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Exp. Out (DSP)} & -1 & -0.986 & ... & 0.986 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$3,0268e-08 ($\pm$65 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 73 \\ \hline
Max CPU cycles & 83 \\ \hline
Avg CPU cycles & 78 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Inport test}{1}
Inport test for General block AutoSwitch.

\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 & ... & 137 \\ \hline
\textbf{CPU cycles} & 73 & 73 & ... & 73 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In1 (DSP)} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Switch (DSP)} & 0.916 & 0.859 & ... & 0.44 \\ \hline
\textbf{In3 (DSP)} & 1 & 0.986 & ... & -0.986 \\ \hline
\textbf{In1} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Switch} & 0.916 & 0.859 & ... & 0.44 \\ \hline
\textbf{In3} & 1 & 0.986 & ... & -0.986 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{Thresh\_up} & \SetCell[c=4]{c}0 \\ \hline
\textbf{Thresh\_down} & \SetCell[c=4]{c}0 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Exp. Out} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Out (DSP)} & -1 & -0.986 & ... & 0.986 \\ \hline
\textbf{Exp. Out (DSP)} & -1 & -0.986 & ... & 0.986 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$3,0268e-08 ($\pm$65 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 73 \\ \hline
Max CPU cycles & 83 \\ \hline
Avg CPU cycles & 77 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for General block AutoSwitch.

\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 & ... & 11 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{Thresh\_up} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Thresh\_down} & 0 & 0.1 & ... & -1.1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{Thresh\_down} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Thresh\_up} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Exp. Thresh\_down} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Exp. Thresh\_up} & 0 & 0.1 & ... & -1.1 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Thresh\_down & $\pm$0,0000e+00 \\ \hline
Tolerance Thresh\_up & $\pm$0,0000e+00 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion-on-Target test}{1}
Conversion-on-Target test for General block AutoSwitch.

\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 & ... & 11 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Mask parameters} \\ \hline
\textbf{Thresh\_up} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Thresh\_down} & 0 & 0.1 & ... & -1.1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{Thresh\_down} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Thresh\_up} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Exp. Thresh\_down} & 0 & 0.1 & ... & -1.1 \\ \hline
\textbf{Exp. Thresh\_up} & 0 & 0.1 & ... & -1.1 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Thresh\_down & $\pm$3,0000e-08 \\ \hline
Tolerance Thresh\_up & $\pm$3,0000e-08 \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 1265 \\ \hline
Max CPU cycles & 1299 \\ \hline
Avg CPU cycles & 1268 \\ \hline
\end{XtoCtabular}
