\XtoCVerification{RateLimiter FiP32 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 RateLimiter.

\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 & ... & 266 \\ \hline
\textbf{CPU cycles} & 61 & 61 & ... & 142 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Inputs} \\ \hline
\textbf{In (DSP)} & 0 & -2147483648 & ... & -429496730 \\ \hline
\textbf{Init (DSP)} & 0 & 644245094 & ... & 644245094 \\ \hline
\textbf{Enable (DSP)} & 0 & 0 & ... & 1 \\ \hline
\textbf{In} & 0 & -1 & ... & -0.2 \\ \hline
\textbf{Init} & 0 & 0.3 & ... & 0.3 \\ \hline
\textbf{Enable} & 0 & 0 & ... & 1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Parameters} \\ \hline
\textbf{Tr} & \SetCell[c=4]{c}0.01 \\ \hline
\textbf{Tf} & \SetCell[c=4]{c}0.03 \\ \hline
\textbf{ts\_fact} & \SetCell[c=4]{c}1 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Outputs} \\ \hline
\textbf{Out} & 0 & -1 & ... & 0.423 \\ \hline
\textbf{Exp. Out} & 0 & -1 & ... & 0.423 \\ \hline
\textbf{Out (DSP)} & 0 & -2147483648 & ... & 909101402 \\ \hline
\textbf{Exp. Out (DSP)} & 0 & -2147483648 & ... & 909101411 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance Out & $\pm$1,8626e-08 ($\pm$40 LSB) \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 61 \\ \hline
Max CPU cycles & 154 \\ \hline
Avg CPU cycles & 115 \\ \hline
\end{XtoCtabular}
\XtoCTestCase{Conversion test}{1}
Conversion test for General block RateLimiter.

\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{Tr} & -10 & -9.444 & ... & 10 \\ \hline
\textbf{Tf} & -9 & -8.5 & ... & 9 \\ \hline
\textbf{ts\_fact} & 3 & 3 & ... & 3 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{RateUp} & 2147483647 & 2147483647 & ... & 64425 \\ \hline
\textbf{RateDown} & 2147483647 & 2147483647 & ... & 71583 \\ \hline
\textbf{Exp. RateUp} & 2147483647 & 2147483647 & ... & 64425 \\ \hline
\textbf{Exp. RateDown} & 2147483647 & 2147483647 & ... & 71583 \\ \hline
\end{tblr}
\vspace{1ex}

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

\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{Tr} & -10 & -9.444 & ... & 10 \\ \hline
\textbf{Tf} & -9 & -8.5 & ... & 9 \\ \hline
\textbf{ts\_fact} & 3 & 3 & ... & 3 \\ \hline
\SetRow{lightgray!50} \SetCell[c=5]{l} \textit{Controller parameters} \\ \hline
\textbf{RateUp} & 2147483647 & 2147483647 & ... & 64424 \\ \hline
\textbf{RateDown} & 2147483647 & 2147483647 & ... & 71582 \\ \hline
\textbf{Exp. RateUp} & 2147483647 & 2147483647 & ... & 64425 \\ \hline
\textbf{Exp. RateDown} & 2147483647 & 2147483647 & ... & 71583 \\ \hline
\end{tblr}
\vspace{1ex}

\begin{XtoCtabular}{Test settings}
Tolerance RateUp & $\pm$3,0000e+00 \\ \hline
Tolerance RateDown & $\pm$3,0000e+00 \\ \hline
\end{XtoCtabular}

\begin{XtoCtabular}{Test statistics}
Min CPU cycles & 2162 \\ \hline
Max CPU cycles & 2240 \\ \hline
Avg CPU cycles & 2200 \\ \hline
\end{XtoCtabular}
