What is the difference between wr_dout and r_dout ports of a Dual-port RAM in the hdldemolib? Please give a detailed explanation (if possible with an example)
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Bala Vignesh
am 3 Jul. 2014
Kommentiert: Tim McBrayer
am 8 Jul. 2014
Dear community members, any help is appreciated. Thank you.
0 Kommentare
Akzeptierte Antwort
Tim McBrayer
am 3 Jul. 2014
This is straightforward. The Dual Port RAM has two address inputs; wr_addr and rd_addr. wr_dout is the contents of the address wr_addr, and rd_dout is the contents of the address rd_addr.
The documentation is quite short and clear as to the specific behavior of all the ports, and tradeoffs between the various RAM blocks.
>> web(fullfile(docroot, 'simulink/slref/dualportram.html'))
2 Kommentare
Tim McBrayer
am 8 Jul. 2014
There is only one write data port; you can only write one word of data at a time. This is why the ports are named the way that they are. The capability of the Simulink RAM blocks are specifically designed to match the synthesis templates that are shared by all major synthesis tools, so that the implementation maps to the underlying on-chip block RAMS.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Basic HDL Algorithms finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!