.. _IP/ocrom_DualPort: PoC.mem.ocrom.DualPort ###################### .. only:: html .. |gh-src| image:: /_static/logos/GitHub-Mark-32px.png :scale: 40 :target: https://github.com/VHDL/PoC/blob/main/src/mem/ocrom/ocrom_DualPort.vhdl :alt: Source Code on GitHub .. |gh-tb| image:: /_static/logos/GitHub-Mark-32px.png :scale: 40 :target: https://github.com/VHDL/PoC/blob/main/tb/mem/ocrom/ocrom_DualPort_tb.vhdl :alt: Source Code on GitHub .. sidebar:: GitHub Links * |gh-src| :pocsrc:`Sourcecode ` * |gh-tb| :poctb:`Testbench ` Inferring / instantiating dual-port read-only memory, with: * dual clock, clock enable, * 2 read ports. The generalized behavior across Altera and Xilinx FPGAs since Stratix/Cyclone and Spartan-3/Virtex-5, respectively, is as follows: WARNING: The simulated behavior on RT-level is not correct. TODO: add timing diagram TODO: implement correct behavior for RT-level simulation .. rubric:: Entity Declaration: .. literalinclude:: ../../../../src/mem/ocrom/ocrom_DualPort.vhdl :language: vhdl :tab-width: 2 :linenos: :lines: 60-76 .. only:: latex Source file: :pocsrc:`mem/ocrom/ocrom_DualPort.vhdl `