Forum Discussion

Valerius's avatar
Valerius
Icon for New Contributor rankNew Contributor
1 year ago

Implementing static RAMs on Quartus block schematics (targeting MAX10)

Hi all,

this is my first post here, very happy and excited to be part of this community

I'm doing my first FPGA project with a MAX10M08SCE144C8G device, since I'm not (yet) familiar with HDL (Verilog or VHDL) I'm tranlsating my TTL schematics to Quartus Prime (ver 17) block schematics.My design has some static RAMs that I'm unable to properly implement.I tried the IP megafunction but the resulting symbol has separate DATA INPUT and OUTPUT bus (while the real RAM has a single tristate bus), when I try to compie I get some errors complaining about tristate buffer (FPGA cannot have them internally IIRC).I also tried some Verilog/VHD models with single DATA bus I found on the net but none works.

I attach the snippet of the TTL schematics with RAMs hoping someone will help me.Thanks in advance.

5 Replies

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

    Hi,
    main problem in emulating static RAM isn't the bidirectional data bus, it's the fact that FPGA block RAM is synchronous, it uses a clock, at least all inputs (address, data, WE) are registered. This allows faster operation than asynchronous RAM, but external logic will look different.
    As you already mentioned, there's no bidirectional bus inside the FPGA, but it can be emulated if it serves a purpose. External I/O pins can of course implement bidirectional I/O with tri-state, similar to discussed RAM.

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

    As mentioned, there is no tristate logic internal to the FPGA fabric, so your design is going to have to change, either by replacing with synchronous RAM blocks, as mentioned, or just registers.

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

    May I know if you need any further assistance regarding this case?


    Regards,

    Richard Tan



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

    We noticed that we haven't received a response from you regarding the latest previous question/reply/answer, and will now transitioning your inquiry to our community support. We apologize for any inconvenience this may cause and we appreciate your understanding.


    If you have any further questions or concerns, please don't hesitate to reach out. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support.


    The community users will be able to help you on your follow-up questions.


    Thank you for reaching out to us!


    Best Regards,

    Richard Tan