- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you show a screenshot? This should not be a requirement to add an EMIF to a design.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you follow all the procedures for installing WSL, as stated in the user guide:
Additionally, please check that your machine system met the minimum Hardware and Software Requirements.
If the issue still persists, could you try to uninstall Quartus and reinstall the software with Administrator privileges?
Regards,
Richard Tan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Richard-san.
I had already performed the process on this page.
https://www.intel.com/content/www/us/en/docs/programmable/683472/25-1/operating-system-requirements.html
Next, I referred to the Hardware and Software requiremants page and downloaded and installed the Latest Microsoft Visual C++ Redistributable Version.
However, the result was the same script error. Therefore, I reinstalled Quartus Prime standard 24.1.
I confirmed that Nios II SBT for Eclipse via eclipse-nios2.exe started.
https://www.intel.com/content/www/us/en/support/programmable/articles/000086893.html
After that, I tried to generate the LPDDR2 IP again, but the result was the same.
What else could you think of?
Regards, Hidetaka.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Richard-san.
When I saw the error message, the error was in the "Info: LPDDR2_top2: Generating example design" item,
so I thought maybe I just shouldn't generate the example design, so I ran it, and it was generated without any errors.
Error: Execution of script "/0008_LPDDR2_top2_gen/simulation/generate_sim_example_design.tcl" is causing an error,
so I would appreciate it if you could fix this part.
Regards, Hidetaka.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to confirm, is it just the IP or the example design is generated successfully without ticking the "Generate Example Design" ?
Regards,
Richard Tan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We might need some debugging on this issue. Just to confirm everything is correct.
• Open the start menu and type Turn Windows features on or off
• In the window that appears, check that the Windows Subsystem for Linux is ticked, when prompted, restart your PC.
• Open a command prompt and type "wsl --list --verbose". You should get something like the following:
C:\Users\xxx> wsl --list --verbose
• Type wsl -u root to enter the Ubuntu terminal and issue the following commands
o apt update
o apt install wsl dos2unix make build-essential
Wait until the installation finishes.
After that, open Quartus and try generating the IP again.
Another thing that is different from what you did is that I do not install the Nios II SBT for Eclipse separately.
It comes along when I installed the Quartus.
As you can see in the picture, I have a few Quartus versions installed in my laptop with different Nios II version respectively.
So perhaps try to uninstall the Nios II SBT for Eclipse.
Or maybe install the Quartus v23.1std and see if the IP generation in v24.1 works.
If so, I suspect the environment variable settings might be the issue since I have a few Quartus version installed.
Regards,
Richard Tan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Richard-san.
I additionally reran the following:
But the result was the same.
Only Quartus Prime standard 24.1.0.1077 and Quartus Pro 25.1.0.129 are installed on my PC.
Is the difference that I installed CDT 8.8.1 additionally?
https://www.intel.com/content/www/us/en/support/programmable/articles/000086893.html
I don't think it's a problem with the windows environment variables.
I have not yet run it in an environment where CDT 8.8.1 for Windows has been removed. I will try it tomorrow.
Regards, Hidetaka.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, Richard-san.
I uninstalled Quartus Prime standard 24.1 and then reinstalled it.
I did not install CDT8.8.1 and generated the LPDDR2 IP again.
The result was the same; an error occurred when checking "Generate Example Design". If I uncheck it, generate completed successfully.
For the time being I will continue development without checking "Generate Example Design", but I would like this to be improved.
////////// error message
Error: Execution of script C:/Users/xxxx/AppData/Local/Temp/alt0224_5461300254259846718.dir/0008_LPDDR2_top2_gen/simulation/generate_sim_example_design.tcl failed
/////////
Regards, Hidetaka.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Richard-san,
I had another issue in the Support Community. I added "TBB_MALLOC_DISABLE_REPLACEMENT=1" to the system environment variables that Adzim-san told me about, and was able to generate the Example Design without any errors.
See here.
I am unable to generate the Cyclone VGX LPDDR2 controller IP due to an error. - Intel Community
I am very grateful to you.
Please close this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page