Forum Discussion

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

Cyclone V GX and alt_iobuff_diff

I'm developing a LPDDR2 controller for Cyclone V GX Starter kit and i have problems with DQS differential bidirectional interface: using ALT_IOBUF_DIFF i get an error message "..Primitive ALT_IOBUFF_DIFF is not supported for the selected family (Cyclone V)".

DQS pins are set in Pin Planner as "I/O standard Differential 1.2-V HSUL", as suggested by the doc.

What is the correct way?

(Quartus Prime Lite Edition 21.1.1, Verilog, Cyclone V GX Starter kit)

Grazie!

5 Replies

  • ProgAddicted's avatar
    ProgAddicted
    Icon for New Contributor rankNew Contributor

    Tanks for the reply.

    Unfortunately ALTDDIO only deals with Double Data Rate and not with bidirectional DIFFERENTIAL pins.

    I will use ALTDDIO for Data and Address pins, but i need a solution for differential bidirectional DQS pins.

    Any idea?

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

      Hi,
      are you explicitely instantiating ALT_IOBUF_DIFF? If so, why?

  • Farabi's avatar
    Farabi
    Icon for Regular Contributor rankRegular Contributor

    "We sincerely apologize for the inconvenience caused by the delay in addressing your Forum queries. Due to an unexpected back-end issue in our system, your Forum cases, along with others, did not get through as intended. As a result, we have a backlog of cases that we are currently working through one by one.

    Please be assured that we are doing everything we can to resolve this issue as quickly as possible. However, this process will take some time, and we kindly ask for your patience and understanding during this period. The cases will be attended by AE shortly.

    We appreciate your patience and understanding, and we are committed to providing you with the best support possible.

    Thank you for your understanding."


  • Farabi's avatar
    Farabi
    Icon for Regular Contributor rankRegular Contributor

    Hello,


    You should not use the primitive ALTIO_BUFF_DIFF directly as this is not the correct approach.

    You should use Differential 1.2V HSUL for DQS signals.


    Cyclone V devices are typically paired with the Intel UniPHY IP to implement memory interfaces, including LPDDR2.

    The UniPHY controller automatically handles differential DQS signals and takes care of timing calibration and bidirectional operations.

    If you’re not already using the UniPHY IP, consider generating the LPDDR2 interface using the DDR2/DDR3 SDRAM Controller with UniPHY IP in Quartus.


    regards,

    Farabi