48 lines
985 B
TeX
48 lines
985 B
TeX
|
\subsubsection{Name}
|
||
|
|
||
|
Cat -- Concatenation of nets
|
||
|
|
||
|
\subsubsection{Synopsys}
|
||
|
|
||
|
\begin{verbatim}
|
||
|
Cat ( net1, net2 )
|
||
|
\end{verbatim}
|
||
|
|
||
|
\subsubsection{Description}
|
||
|
|
||
|
Concatenation of nets. The nets are given as parameters, the concatenation starts with the MSB.
|
||
|
|
||
|
\subsubsection{Parameters}
|
||
|
|
||
|
\begin{itemize}
|
||
|
\item \verb-nets- : list of nets to be concatened (tuple or array)
|
||
|
\end{itemize}
|
||
|
|
||
|
\subsubsection{Example}
|
||
|
|
||
|
\begin{verbatim}
|
||
|
myNet <= Cat ( A, B )
|
||
|
\end{verbatim}
|
||
|
\indent Or :
|
||
|
\begin{verbatim}
|
||
|
tab = []
|
||
|
tab.append ( A )
|
||
|
tab.append ( B )
|
||
|
myNet <= Cat ( tab )
|
||
|
\end{verbatim}
|
||
|
|
||
|
\indent If A and B are 2 bits nets, the net \verb-myNet- will be such as :
|
||
|
\begin{verbatim}
|
||
|
myNet[3] = A[1]
|
||
|
myNet[2] = A[0]
|
||
|
myNet[1] = B[1]
|
||
|
myNet[0] = B[0]
|
||
|
\end{verbatim}
|
||
|
|
||
|
\subsubsection{See Also}
|
||
|
|
||
|
\hyperref[ref]{\emph{Introduction}}{}{Introduction}{secintroduction}
|
||
|
\hyperref[ref]{\emph{Nets}}{}{Nets}{secnet}
|
||
|
\hyperref[ref]{\emph{Alias}}{}{Alias}{secalias}
|
||
|
\hyperref[ref]{\emph{Extend}}{}{Extend}{secextend}
|