Forum Discussion

s002wjhwen's avatar
s002wjhwen
Icon for New Contributor rankNew Contributor
3 months ago

quartus ram gen full HDL

can Quartus ram generator, generated a full HDL code for simple dual port ram, so i can use for both non altera device?

4 Replies

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    Hi,

    presume you are asking about synthesizable HDL code? Embedded RAM is a hardware feature of FPGA, HDL code provided by Quartus Megawizard or e.g. Xilinx RAM generator is only a wrapper. Respectively many parameters (memory organization, synchronous or asynchronous read/write, behaviour of additional signals) are target dependant, the code can't be easily ported to other devices.

    Regards Frank

  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    Do you have further queries? 

     

    Agree on the above answer: Quartus RAM Generator mainly creates Intel/Altera-specific wrappers and may not be fully portable to other FPGA vendors.

    For portability, write a simple dual-port RAM in standard synthesizable Verilog or VHDL. However, RAM inference and read-during-write behavior may differ between devices, so the design should be verified with each vendor’s synthesis tool.

  • KennyT_altera's avatar
    KennyT_altera
    Icon for Super Contributor rankSuper Contributor

    Do you have further queries? If no, we shall close the case.