mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 03:31:24 +00:00
Added read-enable to memory model
This commit is contained in:
parent
ec92c89659
commit
924d9d6e86
17 changed files with 157 additions and 76 deletions
|
@ -220,8 +220,9 @@ cell is created. Having individual cells for read and write ports has the advant
|
|||
consolidated using resource sharing passes. In some cases this drastically reduces the number of required
|
||||
ports on the memory cell.
|
||||
|
||||
The {\tt \$memrd} cells have a clock input \B{CLK}, an address input \B{ADDR} and a data output
|
||||
\B{DATA}. They also have the following parameters:
|
||||
The {\tt \$memrd} cells have a clock input \B{CLK}, an enable input \B{EN}, an
|
||||
address input \B{ADDR}, and a data output \B{DATA}. They also have the
|
||||
following parameters:
|
||||
|
||||
\begin{itemize}
|
||||
\item \B{MEMID} \\
|
||||
|
@ -322,6 +323,9 @@ The {\tt \$mem} cell has the following ports:
|
|||
\item \B{RD\_CLK} \\
|
||||
This input is \B{RD\_PORTS} bits wide, containing all clock signals for the read ports.
|
||||
|
||||
\item \B{RD\_EN} \\
|
||||
This input is \B{RD\_PORTS} bits wide, containing all enable signals for the read ports.
|
||||
|
||||
\item \B{RD\_ADDR} \\
|
||||
This input is \B{RD\_PORTS}*\B{ABITS} bits wide, containing all address signals for the read ports.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue