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

\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 & ... & 137 \\ \hline
\textbf{CPU cycles} & 54 & 54 & 54 & 54 & ... & 54 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{In1 (DSP)} & -32768 & -32293 & -31818 & -31343 & ... & 32293 \\ \hline
\textbf{Switch (DSP)} & 30005 & 28152 & 32440 & 32440 & ... & 14425 \\ \hline
\textbf{In3 (DSP)} & 32767 & 32293 & 31818 & 31343 & ... & -32293 \\ \hline
\textbf{In1} & -1 & -0.986 & -0.971 & -0.957 & ... & 0.986 \\ \hline
\textbf{Switch} & 0.916 & 0.859 & 0.99 & 0.99 & ... & 0.44 \\ \hline
\textbf{In3} & 1 & 0.986 & 0.971 & 0.957 & ... & -0.986 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{Thresh\_up} & \SetCell[c=6]{c}0.3 \\ \hline
\textbf{Thresh\_down} & \SetCell[c=6]{c}-0.1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -1 & -0.986 & -0.971 & -0.957 & ... & 0.986 \\ \hline
\textbf{Exp. Out} & -1 & -0.986 & -0.971 & -0.957 & ... & 0.986 \\ \hline
\textbf{Out (DSP)} & -32768 & -32293 & -31818 & -31343 & ... & 32293 \\ \hline
\textbf{Exp. Out (DSP)} & -32768 & -32293 & -31818 & -31343 & ... & 32293 \\ \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 & 54 \\ \hline
Max CPU cycles & 69 \\ \hline
Avg CPU cycles & 61 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Inport test}{1}
Inport test for General block AutoSwitch.

\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 & ... & 137 \\ \hline
\textbf{CPU cycles} & 54 & 54 & 54 & 54 & ... & 54 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Inputs} \\ \hline
\textbf{In1 (DSP)} & -32768 & -32293 & -31818 & -31343 & ... & 32293 \\ \hline
\textbf{Switch (DSP)} & 30005 & 28152 & 32440 & 32440 & ... & 14425 \\ \hline
\textbf{In3 (DSP)} & 32767 & 32293 & 31818 & 31343 & ... & -32293 \\ \hline
\textbf{In1} & -1 & -0.986 & -0.971 & -0.957 & ... & 0.986 \\ \hline
\textbf{Switch} & 0.916 & 0.859 & 0.99 & 0.99 & ... & 0.44 \\ \hline
\textbf{In3} & 1 & 0.986 & 0.971 & 0.957 & ... & -0.986 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Parameters} \\ \hline
\textbf{Thresh\_up} & \SetCell[c=6]{c}0 \\ \hline
\textbf{Thresh\_down} & \SetCell[c=6]{c}0 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Outputs} \\ \hline
\textbf{Out} & -1 & -0.986 & -0.971 & -0.957 & ... & 0.986 \\ \hline
\textbf{Exp. Out} & -1 & -0.986 & -0.971 & -0.957 & ... & 0.986 \\ \hline
\textbf{Out (DSP)} & -32768 & -32293 & -31818 & -31343 & ... & 32293 \\ \hline
\textbf{Exp. Out (DSP)} & -32768 & -32293 & -31818 & -31343 & ... & 32293 \\ \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 & 54 \\ \hline
Max CPU cycles & 69 \\ \hline
Avg CPU cycles & 60 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for General block AutoSwitch.

\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 & ... & 11 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Mask parameters} \\ \hline
\textbf{Thresh\_up} & 0 & 0.1 & 0.2 & 0.5 & ... & -1.1 \\ \hline
\textbf{Thresh\_down} & 0 & 0.1 & 0.2 & 0.5 & ... & -1.1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Controller parameters} \\ \hline
\textbf{Thresh\_down} & 0 & 3277 & 6554 & 16384 & ... & -32767 \\ \hline
\textbf{Thresh\_up} & 0 & 3277 & 6554 & 16384 & ... & -32767 \\ \hline
\textbf{Exp. Thresh\_down} & 0 & 3277 & 6554 & 16384 & ... & -32767 \\ \hline
\textbf{Exp. Thresh\_up} & 0 & 3277 & 6554 & 16384 & ... & -32767 \\ \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|c|c|X[c]|c|}}
\hline
\SetRow{lightgray} \SetCell[c=7]{l} \textbf{Test results} \\ \hline
\textbf{Time step} & 1 & 2 & 3 & 4 & ... & 11 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Mask parameters} \\ \hline
\textbf{Thresh\_up} & 0 & 0.1 & 0.2 & 0.5 & ... & -1.1 \\ \hline
\textbf{Thresh\_down} & 0 & 0.1 & 0.2 & 0.5 & ... & -1.1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=7]{l} \textit{Controller parameters} \\ \hline
\textbf{Thresh\_down} & 0 & 3276 & 6553 & 16384 & ... & -32767 \\ \hline
\textbf{Thresh\_up} & 0 & 3276 & 6553 & 16384 & ... & -32767 \\ \hline
\textbf{Exp. Thresh\_down} & 0 & 3277 & 6554 & 16384 & ... & -32767 \\ \hline
\textbf{Exp. Thresh\_up} & 0 & 3277 & 6554 & 16384 & ... & -32767 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Thresh\_down & $\pm$1,0000e+00 \\ \hline
Tolerance Thresh\_up & $\pm$1,0000e+00 \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 976 \\ \hline
Max CPU cycles & 984 \\ \hline
Avg CPU cycles & 978 \\ \hline
\end{XtoCtabular}
