| 1 |
40 |
leonardoar |
\section{behavior Architecture Reference}
|
| 2 |
|
|
\label{classtest_divisor_1_1behavior}\index{behavior@{behavior}}
|
| 3 |
|
|
|
| 4 |
|
|
|
| 5 |
|
|
Test divisor module.
|
| 6 |
|
|
|
| 7 |
|
|
|
| 8 |
|
|
\\*
|
| 9 |
|
|
\\*
|
| 10 |
|
|
\subsection*{Processes}
|
| 11 |
|
|
\begin{DoxyCompactItemize}
|
| 12 |
|
|
\item
|
| 13 |
|
|
{\bf clk\-\_\-process}{\bfseries ( )}\label{classtest_divisor_1_1behavior_ac5bb218131b813f7908ec89476b31fca}
|
| 14 |
|
|
|
| 15 |
|
|
\item
|
| 16 |
|
|
{\bf stim\-\_\-proc}{\bfseries ( )}\label{classtest_divisor_1_1behavior_ad2efa6785cff833c341e27596b21aeb5}
|
| 17 |
|
|
|
| 18 |
|
|
\end{DoxyCompactItemize}
|
| 19 |
|
|
\subsection*{Components}
|
| 20 |
|
|
\begin{DoxyCompactItemize}
|
| 21 |
|
|
\item
|
| 22 |
|
|
{\bf divisor} {\bfseries }
|
| 23 |
|
|
\begin{DoxyCompactList}\small\item\em Reset input. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 24 |
|
|
\subsection*{Constants}
|
| 25 |
|
|
\begin{DoxyCompactItemize}
|
| 26 |
|
|
\item
|
| 27 |
|
|
{\bf clk\-\_\-period} {\bfseries time \-:= 10 ns } \label{classtest_divisor_1_1behavior_aee75ea6d5c1621041dff5db20cba7e70}
|
| 28 |
|
|
|
| 29 |
|
|
\end{DoxyCompactItemize}
|
| 30 |
|
|
\subsection*{Signals}
|
| 31 |
|
|
\begin{DoxyCompactItemize}
|
| 32 |
|
|
\item
|
| 33 |
|
|
{\bf rst} {\bfseries std\-\_\-logic \-:= ' 0 ' } \label{classtest_divisor_1_1behavior_a513fa2f18065f5d31a856b5a7268e6be}
|
| 34 |
|
|
|
| 35 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 36 |
|
|
{\bf clk} {\bfseries std\-\_\-logic \-:= ' 0 ' } \label{classtest_divisor_1_1behavior_ad8d4742a7eb2e3d3a95e8c0c37d14ed2}
|
| 37 |
|
|
|
| 38 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 39 |
|
|
{\bf numerator} {\bfseries std\-\_\-logic\-\_\-vector ( ( n\-Bits\-Large -\/ 1 ) downto 0 ) \-:= ( others = $>$ ' 0 ' ) } \label{classtest_divisor_1_1behavior_ab6d0f470182dc53c3c65afad4c78bddd}
|
| 40 |
|
|
|
| 41 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 42 |
|
|
{\bf divident} {\bfseries std\-\_\-logic\-\_\-vector ( ( n\-Bits\-Large -\/ 1 ) downto 0 ) \-:= ( others = $>$ ' 0 ' ) } \label{classtest_divisor_1_1behavior_a45d3fd79b3d4a9c68e45d5bfd00d1fc7}
|
| 43 |
|
|
|
| 44 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 45 |
|
|
{\bf quotient} {\bfseries std\-\_\-logic\-\_\-vector ( ( n\-Bits\-Large -\/ 1 ) downto 0 ) } \label{classtest_divisor_1_1behavior_a0a9f54386a9ef858f70c32ccceb1ab0e}
|
| 46 |
|
|
|
| 47 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 48 |
|
|
{\bf reminder} {\bfseries std\-\_\-logic\-\_\-vector ( ( n\-Bits\-Large -\/ 1 ) downto 0 ) } \label{classtest_divisor_1_1behavior_a4192e4decb5e0fff313ed7578a1fe6a5}
|
| 49 |
|
|
|
| 50 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 51 |
|
|
{\bf done} {\bfseries std\-\_\-logic } \label{classtest_divisor_1_1behavior_a52b926bb7d7b6f608cf22d09d17be95a}
|
| 52 |
|
|
|
| 53 |
|
|
\end{DoxyCompactItemize}
|
| 54 |
|
|
\subsection*{Instantiations}
|
| 55 |
|
|
\begin{DoxyCompactItemize}
|
| 56 |
|
|
\item
|
| 57 |
|
|
{\bf uut} {\bfseries divisor} \label{classtest_divisor_1_1behavior_a1619316ad715601eb5d3559db829ac05}
|
| 58 |
|
|
|
| 59 |
|
|
\begin{DoxyCompactList}\small\item\em Instantiate the Unit Under Test (U\-U\-T) \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 60 |
|
|
|
| 61 |
|
|
|
| 62 |
|
|
\subsection{Detailed Description}
|
| 63 |
|
|
Test divisor module.
|
| 64 |
|
|
|
| 65 |
|
|
Calculate some divisions and verify if we have the right value
|
| 66 |
|
|
|
| 67 |
|
|
Definition at line 17 of file test\-Divisor.\-vhd.
|
| 68 |
|
|
|
| 69 |
|
|
|
| 70 |
|
|
|
| 71 |
|
|
\subsection{Member Data Documentation}
|
| 72 |
|
|
\index{test\-Divisor\-::behavior@{test\-Divisor\-::behavior}!divisor@{divisor}}
|
| 73 |
|
|
\index{divisor@{divisor}!testDivisor::behavior@{test\-Divisor\-::behavior}}
|
| 74 |
|
|
\subsubsection[{divisor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf divisor} {\bfseries } \hspace{0.3cm}{\ttfamily [Component]}}\label{classtest_divisor_1_1behavior_ab31bbf4e04b601f06da44e54e616cc99}
|
| 75 |
|
|
|
| 76 |
|
|
|
| 77 |
|
|
Reset input.
|
| 78 |
|
|
|
| 79 |
|
|
Clock input Division result (32 bits) Reminder result (32 bits) Numerator (32 bits) \char`\"{}\-Divide by\char`\"{} number (32 bits)
|
| 80 |
|
|
|
| 81 |
|
|
Definition at line 21 of file test\-Divisor.\-vhd.
|
| 82 |
|
|
|
| 83 |
|
|
|
| 84 |
|
|
|
| 85 |
|
|
The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
|
| 86 |
|
|
\item
|
| 87 |
|
|
E\-:/uart\-\_\-block/hdl/ise\-Project/{\bf test\-Divisor.\-vhd}\end{DoxyCompactItemize}
|