Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17128 Discussions

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

Hidetaka
New Contributor I
1,346 Views

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?

Labels (1)
0 Kudos
13 Replies
sstrell
Honored Contributor III
1,289 Views

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

0 Kudos
Hidetaka
New Contributor I
1,223 Views

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.

 

0 Kudos
RichardTanSY_Intel
1,158 Views

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


0 Kudos
Hidetaka
New Contributor I
1,135 Views

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.

 

0 Kudos
RichardTanSY_Intel
1,127 Views

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

 

0 Kudos
Hidetaka
New Contributor I
1,075 Views

Hello,  Richard-san.

I had already performed the process on this page.

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

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.

 

0 Kudos
Hidetaka
New Contributor I
1,059 Views

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.

LPDDR2_EMIF_generation_uncheck_generate.jpg

 

Regards, Hidetaka.

 

0 Kudos
RichardTanSY_Intel
848 Views

Just to confirm, is it just the IP or the example design is generated successfully without ticking the "Generate Example Design" ? 

Regards,
Richard Tan

0 Kudos
RichardTanSY_Intel
1,044 Views

  

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

RichardTanSY_Intel_3-1747295803491.png

 

• 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.


RichardTanSY_Intel_1-1747294874818.png

 

Regards,
Richard Tan

 

0 Kudos
Hidetaka
New Contributor I
1,013 Views

Hello,  Richard-san.

I additionally reran the following:
wsl_l_v.jpg

 

Ubuntu_update_install.jpg

 

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.
environmental_variables.jpg

 

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.

0 Kudos
Hidetaka
New Contributor I
895 Views

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.

 

0 Kudos
Hidetaka
New Contributor I
388 Views

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.

0 Kudos
RichardTanSY_Intel
375 Views

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.

RichardTanSY_Intel_2-1747631581206.png

 

RichardTanSY_Intel_3-1747631595849.png



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

 

Reply