Forum Discussion

Hidetaka's avatar
Hidetaka
Icon for New Contributor rankNew Contributor
7 months ago

Problem with Quartus prim standard 24.1: I cannot generate IP for the hardware memory controller of

I am currently developing Cyclone VGX (5CGXFC7D7F27C8N).
I am using Quartus prim standard 24.1.
I purchased a board with LPDDR2-SDRAM mounted as external memory for 5CGXFC7D7F27C8N.
I am trying to set the hardware memory controller and generate the IP,
but an error occurs midway and the generation is not performed correctly.
The script displays a message that the Nios II environment is required.
The Nios II environment is not included in 24.1 and later.
Do I have to downgrade to Quartus prim standard 23.1.1, which includes the Nios II environment?

14 Replies

  • That's an interesting finding — I wasn't aware that this specific variable setting could cause the issue.

    I don’t have that variable set on my PC, so it's strange that it works in my case. But at least the solution works for you.

    Here's my environment variable setup for reference.



    Having said that, I'm pleased to know that your problem has been addressed.

    Now, I will transitioning this thread to community support. If you have any further questions or concerns, please don't hesitate to reach out. Please login to https://supporttickets.intel.com/s/?language=en_US , 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 and have a great day!

    Regards,

    Richard Tan

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

    Can you show a screenshot? This should not be a requirement to add an EMIF to a design.

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

      Hello, sstrell-san.

      I am attaching a screenshot of the LPDDR2 MegaWizard settings.
      I have also attached the error message I got when generating MegaWizerd.

      I am planning to use nios V with the cyloneVGX "5CGXFC7D7F27C8N" and LPDDR2 implemented on this board.
      I am having trouble generating the hardware memory controller included in this device.

      Regards, Hidetaka.

  • The error message do stated that the WSL is required to run.

    Could you try to install the WSL and see if the issue still occur?


    Regards,

    Richard Tan


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

      Hello, Richard Tan-san.

      I successfully installed wsl 1 and Ubuntu-18.04 on Windows 11.

      Then I downloaded CDT 8.8.1 following the instructions on the page below.
      https://www.intel.com/content/www/us/en/support/programmable/articles/000086893.html

      So I tried to generate LPDDR2 IP again with megawizerd of Quartus Prime standard 24.1.
      The error <Nios II Command Shell.bat> that appeared before has disappeared,
      but the following error appears and I still cannot generate IP.

      ///////

      Error: Execution of script C:/Users/ueshima-h/AppData/Local/Temp/alt0222_1666408435099083815.dir/0008_LPDDR2_top2_gen/simulation/generate_sim_example_design.tcl failed
      Error: Info: *******************************************************************
      Error: Info: Running Quartus Prime Shell
      Error: Info: Version 24.1std.0 Build 1077 03/04/2025 SC Standard Edition
      Error: Info: Copyright (C) 2025 Altera Corporation. All rights reserved.

      ////////

      Regards,

      Hidetaka.

  • Have you follow all the procedures for installing WSL, as stated in the user guide:

    https://www.intel.com/content/www/us/en/docs/programmable/683472/22-2/installing-windows-subsystem-for-linux.html


    Additionally, please check that your machine system met the minimum Hardware and Software Requirements.

    https://www.intel.com/content/www/us/en/docs/programmable/683472/25-1/operating-system-requirements.html

    If the issue still persists, could you try to uninstall Quartus and reinstall the software with Administrator privileges?

    Regards,

    Richard Tan

  • Hi @Hidetaka

    I would like to check with you —may I know which version of Windows 11 you’re using? Is it Windows 11 version 24H2 where you're encountering the error? I’m asking because another user has reported experiencing the same issue with Windows 11 24H2. With PLL IP instead of LPDDR2.


    Regards,

    Richard Tan