Forum Discussion

glenenglish's avatar
glenenglish
Icon for Occasional Contributor rankOccasional Contributor
1 month ago
Solved

HyperRAM Hyperbus options for Agilex

In migrating a Xilinx design : 
We are looking to use a  A5E A 007 B23B device with a NIOS-V or other RISCV soft core.
Because we need to use the HSIO  pins for ~ 20 pairs  of LVDS, and the entireHSIO bank (96 wide) having to be at 1.3V to support LVDS mean that we cannot use the internal LPDDR4 memory controller.

Please confirm my understanding - that although the 96 wide  I/O bank can be split into two functional  sub banks (2A, 2B etc) (to support say, LPDDR4(16 bit), and something else , that we CANNOT split the VCCIO-BANK between the two sub banks ? (to have 1.1V for LPDDR4 and 1.3V for LVDS) 

The projects do not need much memory- a 64 Mbit HyperRAM device  hanging from 1.8V HVIO would do the job (perhaps max clock 125 MHz on HVIO ?) 

What instantiable cores do ALtera have in the war chest for HyperRAM? There is a 3rd party Hyperbus controller IP but we wont want to spend $10,000 on it, as moving from a cheaper Xilinx device to a less competitive Altera device is already a big job and we do not think it deserves having that much more  money spent on  it. (Efinix have a free Hyperbus core, Xilinx have a free Hyperbus core....) 

Regards
Glen.

  • Good questions, Glen — and the good news is your core premise about VCCIO needs correcting in your favour.

    1. HSIO Sub-bank VCCIO Independence — you CAN split voltages between sub-banks

    Your assumption that the entire 96-pin HSIO bank must run at a single VCCIO is incorrect. The sub-banks are electrically independent:

    For Agilex 5 devices, the board must supply each HSIO sub-bank with one VCCIO_PIO voltage level for every VCCIO_PIO pin in that sub-bank. Each HSIO sub-bank is powered by the VCCIO_PIO pins of that sub-bank and is independent of the VCCIO_PIO pins of other HSIO sub-banks. Device Design Guidelines: Agilex™ 5 FPGAs and SoCs Each I/O bank has two sub-banks, and each sub-bank has its own PLL, DPA and SERDES circuitries, and individual VCCIO_PIO voltage rail. I/O Standard Selection and I/O Bank Supply Compatibility Check
    The design guideline checklist is explicit: place HSIO pins that share voltage levels in the same I/O sub-bank Device Design Guidelines: Agilex™ 5 FPGAs and SoCs — which directly implies different sub-banks may operate at different voltages.

    So practically for your A5E 007 B23B design:

    • Sub-bank 2A at 1.1 V → LPDDR4 (16-bit interface, ~38-40 pins, fits within the 48-pin sub-bank limit)
    • Sub-bank 2B at 1.3 V → 20 LVDS TX pairs (40 pins, also within the 48-pin sub-bank limit)
    High-speed I/O is up to 96 pins per bank and up to 48 pins per sub-bank. Device Design Guidelines: Agilex™ 5 FPGAs and SoCs
    One constraint to be aware of: each sub-bank can only support a single voltage tolerance. The VCCIO_PIO tolerance can be extended to ±5% if the entire HSIO sub-bank is operating in PHYLITE mode or GPIO mode. Otherwise, you must supply VCCIO_PIO with a ±3% voltage supply tolerance. Agilex® 5 FPGAs and SoCs Device Data Sheet For the LPDDR4 sub-bank in EMIF mode, keep the regulator tolerance to ±3%. Also confirm in Quartus Prime Pin Planner that the LPDDR4 16-bit interface pins fit within a single sub-bank for your specific package — EMIF can only be implemented on HSIO bank; EMIF is not supported on HVIO bank. Device Design Guidelines: Agilex™ 5 FPGAs and SoCs

    So your LPDDR4 approach is not necessarily blocked — revisit pin planning with this understanding before abandoning it.

    2. HVIO Clock Frequency for HyperRAM

    For the HVIO bank System PLL reference clock input, the data sheet specifies:

    Clock input frequency (FREF), powered by VCCIO_HVIO: Min = 25 MHz, Max = 125 MHz. Agilex® 5 FPGAs and SoCs Device Data Sheet
    Your 125 MHz estimate for the HyperRAM clock on HVIO is consistent with the HVIO reference clock ceiling. A HyperRAM device running at or below 125 MHz on HVIO pins at 1.8 V is a reasonable target.

    3. HyperRAM IP for Agilex 5

    There is a third-party "HyperRAM Controller" IP listed in the Altera partner ecosystem (Silicon Proven IP for Altera Devices). Key characteristics:

    There is also a Jedec xSPI Controller IP in the Altera partner ecosystem that includes HyperRAM support: it operates with NOR, NAND, and HyperRAM devices from multiple vendors, and is compatible with Winbond, Adesto, Micron, Macronix, Cypress, and other similar devices. Jedec xSPI Controller (Silicon Proven IP for Altera Devices) That may be worth evaluating as an alternative at a different price point.

    Altera does not currently list a first-party free HyperRAM IP equivalent to what Efinix or AMD/Xilinx offer — the options available are these partner/third-party cores. The evaluation license on the HyperRAM Controller IP lets you validate integration before committing to purchase, which is worth doing alongside the xSPI option to compare pricing.

    Bottom line: revisit your HSIO pin plan — the sub-bank voltage independence may well let you keep LPDDR4 and LVDS coexisting on the same HSIO bank, which could simplify the overall BOM significantly compared to going the HyperRAM route.


    Note: To continue using AI Responder, please start your next inquiry with ai_responder

    Disclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.

    Thank you very much.

6 Replies

  • ai_responder's avatar
    ai_responder
    Icon for Community Manager rankCommunity Manager

    Good questions, Glen — and the good news is your core premise about VCCIO needs correcting in your favour.

    1. HSIO Sub-bank VCCIO Independence — you CAN split voltages between sub-banks

    Your assumption that the entire 96-pin HSIO bank must run at a single VCCIO is incorrect. The sub-banks are electrically independent:

    For Agilex 5 devices, the board must supply each HSIO sub-bank with one VCCIO_PIO voltage level for every VCCIO_PIO pin in that sub-bank. Each HSIO sub-bank is powered by the VCCIO_PIO pins of that sub-bank and is independent of the VCCIO_PIO pins of other HSIO sub-banks. Device Design Guidelines: Agilex™ 5 FPGAs and SoCs Each I/O bank has two sub-banks, and each sub-bank has its own PLL, DPA and SERDES circuitries, and individual VCCIO_PIO voltage rail. I/O Standard Selection and I/O Bank Supply Compatibility Check
    The design guideline checklist is explicit: place HSIO pins that share voltage levels in the same I/O sub-bank Device Design Guidelines: Agilex™ 5 FPGAs and SoCs — which directly implies different sub-banks may operate at different voltages.

    So practically for your A5E 007 B23B design:

    • Sub-bank 2A at 1.1 V → LPDDR4 (16-bit interface, ~38-40 pins, fits within the 48-pin sub-bank limit)
    • Sub-bank 2B at 1.3 V → 20 LVDS TX pairs (40 pins, also within the 48-pin sub-bank limit)
    High-speed I/O is up to 96 pins per bank and up to 48 pins per sub-bank. Device Design Guidelines: Agilex™ 5 FPGAs and SoCs
    One constraint to be aware of: each sub-bank can only support a single voltage tolerance. The VCCIO_PIO tolerance can be extended to ±5% if the entire HSIO sub-bank is operating in PHYLITE mode or GPIO mode. Otherwise, you must supply VCCIO_PIO with a ±3% voltage supply tolerance. Agilex® 5 FPGAs and SoCs Device Data Sheet For the LPDDR4 sub-bank in EMIF mode, keep the regulator tolerance to ±3%. Also confirm in Quartus Prime Pin Planner that the LPDDR4 16-bit interface pins fit within a single sub-bank for your specific package — EMIF can only be implemented on HSIO bank; EMIF is not supported on HVIO bank. Device Design Guidelines: Agilex™ 5 FPGAs and SoCs

    So your LPDDR4 approach is not necessarily blocked — revisit pin planning with this understanding before abandoning it.

    2. HVIO Clock Frequency for HyperRAM

    For the HVIO bank System PLL reference clock input, the data sheet specifies:

    Clock input frequency (FREF), powered by VCCIO_HVIO: Min = 25 MHz, Max = 125 MHz. Agilex® 5 FPGAs and SoCs Device Data Sheet
    Your 125 MHz estimate for the HyperRAM clock on HVIO is consistent with the HVIO reference clock ceiling. A HyperRAM device running at or below 125 MHz on HVIO pins at 1.8 V is a reasonable target.

    3. HyperRAM IP for Agilex 5

    There is a third-party "HyperRAM Controller" IP listed in the Altera partner ecosystem (Silicon Proven IP for Altera Devices). Key characteristics:

    There is also a Jedec xSPI Controller IP in the Altera partner ecosystem that includes HyperRAM support: it operates with NOR, NAND, and HyperRAM devices from multiple vendors, and is compatible with Winbond, Adesto, Micron, Macronix, Cypress, and other similar devices. Jedec xSPI Controller (Silicon Proven IP for Altera Devices) That may be worth evaluating as an alternative at a different price point.

    Altera does not currently list a first-party free HyperRAM IP equivalent to what Efinix or AMD/Xilinx offer — the options available are these partner/third-party cores. The evaluation license on the HyperRAM Controller IP lets you validate integration before committing to purchase, which is worth doing alongside the xSPI option to compare pricing.

    Bottom line: revisit your HSIO pin plan — the sub-bank voltage independence may well let you keep LPDDR4 and LVDS coexisting on the same HSIO bank, which could simplify the overall BOM significantly compared to going the HyperRAM route.


    Note: To continue using AI Responder, please start your next inquiry with ai_responder

    Disclaimer (Beta): The AI Responder is currently provided as a beta feature. AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.

    Thank you very much.

  • Hi Glen

    We have a reference design on the AXC3000 development kit that uses an external HyperRAM device. We used IP from Synaptic Labs. It is not free, but it might fit your budget. The reference design is available here.

    Regards

    Steven

     

     

    • glenenglish's avatar
      glenenglish
      Icon for Occasional Contributor rankOccasional Contributor

      Hi Steven,  Thanks for the note..

      I have been reading about the L3 cache DynamicIQ unit.
      There is also some good light in the tunnel here.

      The L3 cache controller can point to anywhere in the address space. It's not just tied to the DDR controller . This is a great facility : 
      and... I could put a HyperRAM  off the fabric somewhere and hook it up to the HPS via the L3 cache controller. 
      This is a useful situation where for example, my program/data  might be only 1 MB in size.
      I can't lock the L3 cache, but I can put that 1MB into a HyperRAM, and the cache controller will pretty well pull it into the cache and leave it there.....
      So, a 125 MHz clock HyperRAM interface on the HVIO 1.8V wont be bad at all...
      This is an excellent option for small requirements..
      Or I could put it into M20Ks (opt init  in the bitstream) (and map it to address space)
      etc... I just have to keep the L3 controller satisfied.

      Contrast this to the Xilinx MPSoC- the L2 cache controller is tied at the hip to the DDR controller. That close coupling of course has it's plusses, also. Latency is looowwwww.

      regards, Glen.



       

  • glenenglish's avatar
    glenenglish
    Icon for Occasional Contributor rankOccasional Contributor

    @ ai_responder

    referring to : document  813934

    The documentation says "if all the I/O standards support the VCCIO_PIO of the I/O bank."

    The language suggests and implies that  there is a single I/O bank   VCCIO_PIO...

    It should read "if the I/O standards support the VCCIO_PIO of the I/O sub-bank."

    This should be re written to improve understanding.

    In Pin Planner , I see there are  separate VCCPIO T and B pins. OK.

    According to the interface designer, the LPDDR4 16 bit (single bank) and the fabric (non HPS) solution CANNOT  fit in top or bottom (T or B bank) . (ref clock and cal res constraints and # pins) . needs a whole I/O bank.

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

    Hi glenenglish​ ,

    The LPDDR4 16 bit design can be fit in 1 sub bank. The other sub bank can be used with difference VCCIO_PIO because each sub bank has it's own VCCIO_PIO power supply.

    You can refer to GPIO UG: 

    https://docs.altera.com/r/docs/813934/25.3.1/general-purpose-i/o-user-guide-agilextm-5-fpgas-and-socs/supported-i/o-standards-for-hsio-banks

    I've provided a design that shows LPDDR4 design can fit in 1 sub bank and the other sub bank is using 1.2V VCCIO.

  • glenenglish's avatar
    glenenglish
    Icon for Occasional Contributor rankOccasional Contributor

    HI
    Thanks for the interest and assistance.
     I will load up the sample design and get back to you.
    My previous analysis clashed on EMIF REFCLK input requirements and needed the other subbank to get them.

    BTW - the other sub bank would be using 1.3V LVDS but  that doesnt change the config)
    regards