mirror of https://github.com/YosysHQ/yosys.git
manual: make description of $meminit ports match reality.
This commit is contained in:
parent
c04908c997
commit
182d84ad54
|
@ -274,13 +274,25 @@ edge if this parameter is {\tt 1'b0}.
|
||||||
The cell with the higher integer value in this parameter wins a write conflict.
|
The cell with the higher integer value in this parameter wins a write conflict.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
The {\tt \$meminit} cells have an address input \B{ADDR} and a data input \B{DATA}. Both of the inputs
|
The {\tt \$meminit} cells have an address input \B{ADDR} and a data input \B{DATA}, with the width
|
||||||
must resolve to a constant for synthesis to succeed. If two {\tt \$meminit} cells have the same
|
of the \B{DATA} port equal to \B{WIDTH} parameter times \B{WORDS} parameter. Both of the inputs
|
||||||
\B{MEMID} parameter and \B{ADDR} input, the contents of that memory at that address is undefined.
|
must resolve to a constant for synthesis to succeed.
|
||||||
|
|
||||||
\begin{itemize}
|
\begin{itemize}
|
||||||
\item \B{MEMID} \\
|
\item \B{MEMID} \\
|
||||||
The name of the RTLIL::Memory object that is associated with this initialization cell.
|
The name of the RTLIL::Memory object that is associated with this initialization cell.
|
||||||
|
|
||||||
|
\item \B{ABITS} \\
|
||||||
|
The number of address bits (width of the \B{ADDR} input port).
|
||||||
|
|
||||||
|
\item \B{WIDTH} \\
|
||||||
|
The number of data bits per memory location.
|
||||||
|
|
||||||
|
\item \B{WORDS} \\
|
||||||
|
The number of consecutive memory locations initialized by this cell.
|
||||||
|
|
||||||
|
\item \B{PRIORITY} \\
|
||||||
|
The cell with the higher integer value in this parameter wins an initialization conflict.
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
The HDL frontend models a memory using RTLIL::Memory objects and asynchronous
|
The HDL frontend models a memory using RTLIL::Memory objects and asynchronous
|
||||||
|
|
Loading…
Reference in New Issue