| 1 |
40 |
leonardoar |
\section{behavior Architecture Reference}
|
| 2 |
|
|
\label{classtest_baud__generator_1_1behavior}\index{behavior@{behavior}}
|
| 3 |
|
|
|
| 4 |
|
|
|
| 5 |
|
|
Test \doxyref{baud\-\_\-generator}{p.}{classbaud__generator} module.
|
| 6 |
|
|
|
| 7 |
|
|
|
| 8 |
|
|
\\*
|
| 9 |
|
|
\\*
|
| 10 |
|
|
\subsection*{Processes}
|
| 11 |
|
|
\begin{DoxyCompactItemize}
|
| 12 |
|
|
\item
|
| 13 |
|
|
{\bf clk\-\_\-process}{\bfseries ( )}\label{classtest_baud__generator_1_1behavior_ac5bb218131b813f7908ec89476b31fca}
|
| 14 |
|
|
|
| 15 |
|
|
\item
|
| 16 |
|
|
{\bf stim\-\_\-proc}{\bfseries ( )}\label{classtest_baud__generator_1_1behavior_ad2efa6785cff833c341e27596b21aeb5}
|
| 17 |
|
|
|
| 18 |
|
|
\end{DoxyCompactItemize}
|
| 19 |
|
|
\subsection*{Components}
|
| 20 |
|
|
\begin{DoxyCompactItemize}
|
| 21 |
|
|
\item
|
| 22 |
|
|
{\bf baud\-\_\-generator} {\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 \-:= 20 ns } \label{classtest_baud__generator_1_1behavior_ac04a6db7e4d687091fbb077e5aa8e5bb}
|
| 28 |
|
|
|
| 29 |
|
|
\end{DoxyCompactItemize}
|
| 30 |
|
|
\subsection*{Signals}
|
| 31 |
|
|
\begin{DoxyCompactItemize}
|
| 32 |
|
|
\item
|
| 33 |
|
|
{\bf rst} {\bfseries std\-\_\-logic \-:= ' 0 ' } \label{classtest_baud__generator_1_1behavior_a4ad19b09fd701414daa953d2e84cb994}
|
| 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_baud__generator_1_1behavior_aefbce29afe42d366da5d2568c651a848}
|
| 37 |
|
|
|
| 38 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 39 |
|
|
{\bf cycle\-\_\-wait} {\bfseries std\-\_\-logic\-\_\-vector ( ( n\-Bits\-Large -\/ 1 ) downto 0 ) \-:= ( others = $>$ ' 0 ' ) } \label{classtest_baud__generator_1_1behavior_a24127a443faf9414dd7ce6d1c04a77a3}
|
| 40 |
|
|
|
| 41 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 42 |
|
|
{\bf baud} {\bfseries std\-\_\-logic } \label{classtest_baud__generator_1_1behavior_a651731352ede98b937241d8cffe9a407}
|
| 43 |
|
|
|
| 44 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\item
|
| 45 |
|
|
{\bf baud\-\_\-oversample} {\bfseries std\-\_\-logic } \label{classtest_baud__generator_1_1behavior_a148b72e3227bca47e0a8cbaec91be764}
|
| 46 |
|
|
|
| 47 |
|
|
\begin{DoxyCompactList}\small\item\em Signal to connect with U\-U\-T. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 48 |
|
|
\subsection*{Instantiations}
|
| 49 |
|
|
\begin{DoxyCompactItemize}
|
| 50 |
|
|
\item
|
| 51 |
|
|
{\bf uut} {\bfseries baud\-\_\-generator} \label{classtest_baud__generator_1_1behavior_a1619316ad715601eb5d3559db829ac05}
|
| 52 |
|
|
|
| 53 |
|
|
\begin{DoxyCompactList}\small\item\em Instantiate the Unit Under Test (U\-U\-T) \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 54 |
|
|
|
| 55 |
|
|
|
| 56 |
|
|
\subsection{Detailed Description}
|
| 57 |
|
|
Test \doxyref{baud\-\_\-generator}{p.}{classbaud__generator} module.
|
| 58 |
|
|
|
| 59 |
|
|
Exercise the baud generator with 50\-Mhz clock and dividing by 434, finally checking for period of 8.\-68 us
|
| 60 |
|
|
|
| 61 |
|
|
Definition at line 18 of file test\-Baud\-\_\-generator.\-vhd.
|
| 62 |
|
|
|
| 63 |
|
|
|
| 64 |
|
|
|
| 65 |
|
|
\subsection{Member Data Documentation}
|
| 66 |
|
|
\index{test\-Baud\-\_\-generator\-::behavior@{test\-Baud\-\_\-generator\-::behavior}!baud\-\_\-generator@{baud\-\_\-generator}}
|
| 67 |
|
|
\index{baud\-\_\-generator@{baud\-\_\-generator}!testBaud_generator::behavior@{test\-Baud\-\_\-generator\-::behavior}}
|
| 68 |
|
|
\subsubsection[{baud\-\_\-generator}]{\setlength{\rightskip}{0pt plus 5cm}{\bf baud\-\_\-generator} {\bfseries } \hspace{0.3cm}{\ttfamily [Component]}}\label{classtest_baud__generator_1_1behavior_a28592cfd89ceaf4e659c0f51beddd258}
|
| 69 |
|
|
|
| 70 |
|
|
|
| 71 |
|
|
Reset Input.
|
| 72 |
|
|
|
| 73 |
|
|
Clock input Number of cycles to wait for baud generation Oversample(8x) version of baud (Used on \doxyref{serial\-\_\-receiver}{p.}{classserial__receiver}) Baud generation output (Used on \doxyref{serial\-\_\-transmitter}{p.}{classserial__transmitter})
|
| 74 |
|
|
|
| 75 |
|
|
Definition at line 20 of file test\-Baud\-\_\-generator.\-vhd.
|
| 76 |
|
|
|
| 77 |
|
|
|
| 78 |
|
|
|
| 79 |
|
|
The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
|
| 80 |
|
|
\item
|
| 81 |
|
|
E\-:/uart\-\_\-block/hdl/ise\-Project/{\bf test\-Baud\-\_\-generator.\-vhd}\end{DoxyCompactItemize}
|