FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6561 Discussions

Cyclone IV GX project failed migration from 20.1 to 23.1std

Jarbugeri
Beginner
1,716 Views

I am currently facing an issue with the conversion of an Intel IP while migrating from Quartus version 20.1 to version 23.1std. Despite following the references {1} {2} and {3}, I have encountered the following error:

 

Error: altgx_internal: error renaming "C:/intelfpga_lite/23.1std/quartus/../ip/altera/altera_pcie/altera_pcie_avmm/lib/altpcie_serdes_3cgx_x1d_gen1_08p.v.new" to "C:/intelfpga_lite/23.1std/quartus/../ip/altera/altera_pcie/altera_pcie_avmm/lib/altpcie_serdes_3cgx_x1d_gen1_08p.v": best guess at reason: permission denied
while executing
"file rename -force $temp $filename "
(procedure "my_generation_callback" line 91)
invoked from within
"my_generation_callback"
Error: altgx_internal: Generation callback did not provide a top level file (expected `add_file $output_dir/system_plus_pcie_altgx_internal.v|vhd|sv {SIMULATION SYNTHESIS}`)
Error: Generation stopped, 636 or more modules remaining
Error: qsys-generate failed with exit code 1: 3 Errors, 48 Warnings

 

I have attempted various solutions, but none seem to resolve the issue. Your insights and guidance on how to address this problem would be highly appreciated.

{1} https://community.intel.com/t5/Intel-Quartus-Prime-Software/Cyclone-IV-GX-project-failed-migration-from-18-1-to-20-1/m-p/1496532
{2} https://www.terasic.com.tw/wiki/Fix_Known_Issues_Quartus_QSYS_regenerating_error
{3} https://community.intel.com/t5/FPGA-Intellectual-Property/Using-Quartus-19-1-and-Platform-Designer-on-Windows-I-get-an/td-p/668852

 

0 Kudos
9 Replies
Wincent_Altera
Employee
1,667 Views

Hi,


The error message "altgx_internal: error renaming" you're encountering during the migration of a Quartus project from version 20.1std to version 23.1std suggests that there might be an issue related to the internal workings of the AltGX IP (Intel FPGA IP for transceivers).

Here are some general steps you can take to troubleshoot and address this issue:

  • Check Release Notes:
    • Always refer to the release notes and documentation for both Quartus versions. Sometimes, there are changes in the IP cores or project structure between versions, and the release notes may provide information on how to handle such changes.
  • IP Core Version Compatibility:
    • Ensure that the AltGX IP core version you are using in your design is compatible with both Quartus versions. Certain IP cores may have specific requirements or updates when migrating to a new Quartus version.
  • Re-generate IP Cores:
    • Try regenerating the AltGX IP cores in the Quartus version you are migrating to. This can be done through the MegaWizard Plug-In Manager or Platform Designer (formerly Qsys) depending on your design flow.
  • Update Quartus Project Settings:
    • Check and update the project settings and configurations in the new Quartus version. This includes settings related to IP cores, assignments, and other project-specific configurations.
  • Review Project Structure:
    • Examine the project directory structure and files to ensure that there are no inconsistencies or conflicts between files generated by the different Quartus versions.


User can normally click on File > New Project Wizard to create a new project with new name in a new folder.

If you would like to create a new project using the existing project, I suppose you must have some small design / RTL that you want to reuse or other reasons. Is the new project related to the old/existing project? If no, you may create a new project with the method mentioned above. 

It would be appreciated if you could clarify the purpose of creating a new project by renaming an existing project so that I could provide a suggestion that can achieve your request.


Regards,

Wincent_Intel


0 Kudos
Jarbugeri
Beginner
1,653 Views

Hi Wincent_Intel,

Thank you for your prompt response and suggestions. I've followed the steps you provided, including checking the release notes, regenerating IP cores, updating project settings, and reviewing the project structure. Unfortunately, I'm still encountering the "altgx_internal: error renaming" issue during the migration from Quartus version 20.1std to version 23.1std.

In an attempt to resolve the issue, I even created a new project from scratch in Quartus 23.1 and manually added components in QSYS. Despite these efforts, the problem persists.

I also explored additional suggestions from the forum, such as copying the directory "\18.1\ip\altera\ip_compiler_for_pci_express" into the corresponding location in the newer releases . Unfortunately, this didn't yield any positive results.

On another note, I installed Quartus on the drive. Could this be a potential source of the problem, or is it unrelated to the encountered error?

I appreciate your assistance and would be grateful for any further guidance or potential workarounds for this persisting issue.

Best regards,

0 Kudos
Wincent_Altera
Employee
1,591 Views

Hi Jarbugeri,

Is there any error code shown in Quartus? 
Can you please provide me the Error code ? or a print screen will help me to better understand the problem.

Regards,

Wincent_Intel

0 Kudos
Wincent_Altera
Employee
1,590 Views

Hi Jarbugeri,

Sorry I miss your detail in the case description.
From the error "Error: altgx_internal: error renaming "C:/intelfpga_lite/23.1std/quartus/../ip/altera/altera_pcie/altera_pcie_avmm/lib/altpcie_serdes_3cgx_x1d_gen1_08p.v.new" to "C:/intelfpga_lite/23.1std/quartus/../ip/altera/altera_pcie/altera_pcie_avmm/lib/altpcie_serdes_3cgx_x1d_gen1_08p.v": best guess at reason: permission denied"

 

It seems like your altpcie_serdes_3cgx_x1d_gen1_08p.v.new is somehow missing.
The error can be due to a myriad of reasons and might be difficult to pinpoint exactly. However, I've laid out some suggestions to help we narrow this down further and confirm the error.

  1. Try running Quartus Prime as an administrator. Right-click on the Quartus Prime shortcut or executable and select "Run as administrator." This ensures that Quartus Prime has the necessary permissions to perform file operations.
  2. Try moving your Quartus project to a location with a shorter path, avoiding spaces or special characters in the directory names. Sometimes, long or complex paths can cause issues with file operations.
  3. Copy the file from your previous Quartus version (working) to the one you migrate to.

Let me know if this solved your problem.

Regards,

Wincent_Intel

0 Kudos
Jarbugeri
Beginner
1,532 Views

Hi Wincent.

 

1 - Dont Work for me.

 

2 - Dont work.

 

3- What files specifically should I copy?

Regards,

 

Jarbugeri

0 Kudos
Wincent_Altera
Employee
1,519 Views

Hi Jarbugeri,

based on the error code, it should be some file call altpcie_serdes_3cgx_x1d_gen1_08p.v

Regards,

Wincent_Intel

0 Kudos
Wincent_Altera
Employee
1,561 Views

Hi,

 

I wish to follow up with you about this case.

Do you have any further questions on this matter ?

​​​​​​​Else I would like to have your permission to close this forum ticket

 

Regards,

Wincent_Intel

p/s: If any answer from the community or Intel Support is helpful, please feel free to give the best answer or rate 9/10 survey.


0 Kudos
Wincent_Altera
Employee
1,496 Views

Hi,

 

I wish to follow up with you about this case.

Do you have any further questions on this matter ?

​​​​​​​Else I would like to have your permission to close this forum ticket

 

Regards,

Wincent_Intel

p/s: If any answer from the community or Intel Support is helpful, please feel free to give the best answer or rate 9/10 survey.


0 Kudos
Wincent_Altera
Employee
1,440 Views

Hi

 

We have not hear from you and this Case is idling. It is not recommended to idle for too long.

Therefore following our support policy, I have to put this case in close status. My apologies if any inconvenience cause

Hence, This thread will be transitioned to community support.

If you have a new question, feel free to open a new thread to get support from Intel experts.

Otherwise, the community users will continue to help you on this thread. Thank you

If your support experience falls below a 9 out of 10, I kindly request the opportunity to rectify it before concluding our interaction. If the issue cannot be resolved, please inform me of the cause so that I can learn from it and strive to enhance the quality of future service experiences. 

 

Regards,

Wincent_Intel

p/s: If any answer from the community or Intel Support is helpful, please feel free to give the best answer or rate 9/10 survey.


0 Kudos
Reply