| 1 |
40 |
leonardoar |
\section{uart\-\_\-communication\-\_\-blocks Entity Reference}
|
| 2 |
|
|
\label{classuart__communication__blocks}\index{uart\-\_\-communication\-\_\-blocks@{uart\-\_\-communication\-\_\-blocks}}
|
| 3 |
|
|
Inheritance diagram for uart\-\_\-communication\-\_\-blocks\-:\begin{figure}[H]
|
| 4 |
|
|
\begin{center}
|
| 5 |
|
|
\leavevmode
|
| 6 |
|
|
\includegraphics[height=2.000000cm]{classuart__communication__blocks}
|
| 7 |
|
|
\end{center}
|
| 8 |
|
|
\end{figure}
|
| 9 |
|
|
\subsection*{Entities}
|
| 10 |
|
|
\begin{DoxyCompactItemize}
|
| 11 |
|
|
\item
|
| 12 |
|
|
{\bf Behavioral} architecture
|
| 13 |
|
|
\begin{DoxyCompactList}\small\item\em Top level for interconnection between communication blocks\-: \doxyref{serial\-\_\-transmitter}{p.}{classserial__transmitter}, \doxyref{serial\-\_\-receiver}{p.}{classserial__receiver}, \doxyref{baud\-\_\-generator}{p.}{classbaud__generator}. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 14 |
|
|
\\*
|
| 15 |
|
|
\\*
|
| 16 |
|
|
\subsection*{Use Clauses}
|
| 17 |
|
|
\begin{DoxyCompactItemize}
|
| 18 |
|
|
\item
|
| 19 |
|
|
{\bf pkg\-Definitions} \label{classuart__communication__blocks_ac442dca664056131bdaf5c92e4351e01}
|
| 20 |
|
|
|
| 21 |
|
|
\begin{DoxyCompactList}\small\item\em Use C\-P\-U Definitions package. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 22 |
|
|
\subsection*{Ports}
|
| 23 |
|
|
\begin{DoxyCompactItemize}
|
| 24 |
|
|
\item
|
| 25 |
|
|
{\bf rst} {\bfseries {\bfseries in }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C } \label{classuart__communication__blocks_a8951f9e34071cb1a681f0339ce4b63c4}
|
| 26 |
|
|
|
| 27 |
|
|
\begin{DoxyCompactList}\small\item\em Global reset. \end{DoxyCompactList}\item
|
| 28 |
|
|
{\bf clk} {\bfseries {\bfseries in }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C } \label{classuart__communication__blocks_a3fe846251d47f950195c2f54bd129c61}
|
| 29 |
|
|
|
| 30 |
|
|
\begin{DoxyCompactList}\small\item\em Global clock. \end{DoxyCompactList}\item
|
| 31 |
|
|
{\bf cycle\-\_\-wait\-\_\-baud} {\bfseries {\bfseries in }} {\bfseries std\-\_\-logic\-\_\-vector ( ( n\-Bits\-Large -\/ 1 ) downto 0 ) } \label{classuart__communication__blocks_afa18bfa78951934bdb69cd7109c05aa3}
|
| 32 |
|
|
|
| 33 |
|
|
\begin{DoxyCompactList}\small\item\em Number of cycles to wait in order to generate desired baud. \end{DoxyCompactList}\item
|
| 34 |
|
|
{\bf byte\-\_\-tx} {\bfseries {\bfseries in }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C\-\_\-\-V\-E\-C\-T\-O\-R ( ( n\-Bits -\/ 1 ) downto 0 ) } \label{classuart__communication__blocks_a8cf74bfe6ea9ebd58f54385e60bcdb81}
|
| 35 |
|
|
|
| 36 |
|
|
\begin{DoxyCompactList}\small\item\em Byte to transmit. \end{DoxyCompactList}\item
|
| 37 |
|
|
{\bf byte\-\_\-rx} {\bfseries {\bfseries out }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C\-\_\-\-V\-E\-C\-T\-O\-R ( ( n\-Bits -\/ 1 ) downto 0 ) } \label{classuart__communication__blocks_af86c06321eda298448164ea4af314d9d}
|
| 38 |
|
|
|
| 39 |
|
|
\begin{DoxyCompactList}\small\item\em Byte to receive. \end{DoxyCompactList}\item
|
| 40 |
|
|
{\bf data\-\_\-sent\-\_\-tx} {\bfseries {\bfseries out }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C } \label{classuart__communication__blocks_a6911204ed04f303c8c0aeb381132178f}
|
| 41 |
|
|
|
| 42 |
|
|
\begin{DoxyCompactList}\small\item\em Indicate that byte has been sent. \end{DoxyCompactList}\item
|
| 43 |
|
|
{\bf data\-\_\-received\-\_\-rx} {\bfseries {\bfseries out }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C } \label{classuart__communication__blocks_a660ac404fdc70a7d4ac57286d0916c4a}
|
| 44 |
|
|
|
| 45 |
|
|
\begin{DoxyCompactList}\small\item\em Indicate that we got a byte. \end{DoxyCompactList}\item
|
| 46 |
|
|
{\bf serial\-\_\-out} {\bfseries {\bfseries out }} {\bfseries std\-\_\-logic } \label{classuart__communication__blocks_a663f39bc9103a1c89116711a4d4f2fbc}
|
| 47 |
|
|
|
| 48 |
|
|
\begin{DoxyCompactList}\small\item\em Uart serial out. \end{DoxyCompactList}\item
|
| 49 |
|
|
{\bf serial\-\_\-in} {\bfseries {\bfseries in }} {\bfseries std\-\_\-logic } \label{classuart__communication__blocks_ab5c23ea4f1cdfe2567b19e81909ecfc0}
|
| 50 |
|
|
|
| 51 |
|
|
\begin{DoxyCompactList}\small\item\em Uart serial in. \end{DoxyCompactList}\item
|
| 52 |
|
|
{\bf start\-\_\-tx} {\bfseries {\bfseries in }} {\bfseries S\-T\-D\-\_\-\-L\-O\-G\-I\-C } \label{classuart__communication__blocks_a2e4fb6cc48dc8f0ec684c80468ae6801}
|
| 53 |
|
|
|
| 54 |
|
|
\begin{DoxyCompactList}\small\item\em Initiate transmission. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
| 55 |
|
|
|
| 56 |
|
|
|
| 57 |
|
|
\subsection{Detailed Description}
|
| 58 |
|
|
|
| 59 |
|
|
|
| 60 |
|
|
Definition at line 9 of file uart\-\_\-communication\-\_\-blocks.\-vhd.
|
| 61 |
|
|
|
| 62 |
|
|
|
| 63 |
|
|
|
| 64 |
|
|
The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
|
| 65 |
|
|
\item
|
| 66 |
|
|
E\-:/uart\-\_\-block/hdl/ise\-Project/{\bf uart\-\_\-communication\-\_\-blocks.\-vhd}\end{DoxyCompactItemize}
|