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

Qsys (Platform Designer) seq: add_fileset_file: No such file .. hps_AC_ROM.hex

MTw
Novice
15,949 Views

I'm regenerating a hps system with the Platform Designer and receive a couple of errors during execution of script generate_hps_sdram.tcl

 

Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Error during execution of "{C:/intelfpga/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Execution of command "{C:/intelfpga/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed Error: border: Error during execution of script generate_hps_sdram.tcl: seq: child process exited abnormally Error: border: Error during execution of script generate_hps_sdram.tcl: seq: add_fileset_file: No such file C:/Users/__nnn__/AppData/Local/Temp/alt8344_7417580866586908393.dir/0004_seq_gen/hps_AC_ROM.hex Error: border: Error during execution of script generate_hps_sdram.tcl: Generation stopped, 3 or more modules remaining Error: border: Execution of script generate_hps_sdram.tcl failed

I am using Microsoft Windows [Version 10.0.18363.720]

Quartus installation: LAST_QUARTUS_VERSION "19.1.0 SP0.02std Standard Edition"

 

I found literally the same error description here:

https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/tools/2018/error--border--error-during-execution-of-script-generatehpssdram.html

 

But the work around ist not useable because this is for Linux Operating Systems only. It shouldn't appear on a Windows machine...

 

Does anyone have had the same problem or maybe has a solution?

 

Sincerely yours,

Mirco

0 Kudos
27 Replies
MTw
Novice
12,344 Views

Hi,

 

I have checked the 3 solutions.

Solution 1 and 3 are literally the same. The linux subsystem wasn't activated. A reboot after closing the dialog brought no change in the behaviour of the Platform Designer...

Solution 2 has been negative, too. Every system variable pointed to the local drive C: The Variable HOMEDRIVE wa snot present, I created it pointing to a local folder on my C: drive.

 

The error is the same till now.

 

Sincerely yours,

Mirco

0 Kudos
Kenny_Tan
Moderator
12,344 Views

Does your hps system consist of DDR4 memory? We have similar case reported because of the windows 10 update.

0 Kudos
MTw
Novice
12,344 Views

My hps system is configured to use a DDR3 memory with 400 MHz clock frequency.

0 Kudos
Kenny_Tan
Moderator
12,344 Views

Got it. As mention this problem occur is due to the windows upgrade.

 

The workaround for it would be use another computer with linux OS for generation, or you may send your design for me to generate it for you. You may check your email on this.

 

Sorry for the inconvenience case,

ADOtt3
Beginner
12,344 Views

Hy, I've exactly the same problem,

for me is not possible to use a computer with linux os and also it is not reasonable request you to generate the system for me.

When this problem will be resolved?

Thanks,

Antonio

0 Kudos
Kenny_Tan
Moderator
12,344 Views

Hi Antonio,

 

Currently, our engineering are focusing on Qpro development as priority. The fix will not be so soon. I will email you on further details.

 

We are sorry to inform that.

 

Thanks

0 Kudos
KLing4
Partner
12,344 Views

Hello,

I've exactly the same problem. Is there a solution to this problem now?

 

Thanks.

 

0 Kudos
Kenny_Tan
Moderator
12,344 Views

You may check your email regarding this. As mention in the above, the workaround would be use another computer with linux OS for generation, or you may send your design for me to generate it for you. We are sorry for the inconvenience cause.

0 Kudos
KLing4
Partner
12,344 Views

Hello,

 

is not possible to use a computer with linux os and also it is  inconvenient to attached the design.qar here .is there any other solution?

Thank you.

0 Kudos
Kenny_Tan
Moderator
12,344 Views

You may check your email ketty.ling@arrow.com for it. Thanks

 

0 Kudos
bpere15
Novice
12,344 Views

Hi I am having the same error and do not have access to a linux computer, can you generate this system for me as well?

Thanks

0 Kudos
Kenny_Tan
Moderator
12,344 Views

Can you try out this solution?

 

1) https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/emif/2018/error--s0--error-during-execution-of---quartus-installation--nio.html

 

Or

2)

 

Go to check the jtagserver.exe (same path as in the generate log) whether it is enabled in the firewall for all network types, see below:

 

jtagserver firewall

 

You may have to click on the 'Change settings' button with a shield icon on it before the firewall rules are editable - they are locked against being changed by software.

 

You might need to have the admin to do this.

 

Thanks,

0 Kudos
Kenny_Tan
Moderator
12,344 Views

Any update?

0 Kudos
MTw
Novice
12,344 Views

Hello Kenny T.

 

Can we have any update from you? When will we be able to generate a HPS using SDRAM with an Quartus Version greater than 18.1.1 Build 646 04/11/2019 SJ Standard Edition? Till this Version a HPS compilation was working, even running this great Windows 10 (Version 10.0.18363.720).

 

The jtagserver does not matter because it is the same on both versions installed parallel on this system. And the Windows Subsystem for Linux is deactivated. So please get us a solution!

 

Thanks.

0 Kudos
bpere15
Novice
12,344 Views

I have successfully compiled Qsys using a linux system, sending code to get compiled by someone else is obviously ridiculous. I know this is not ideal but had to find a workaround.

0 Kudos
Kenny_Tan
Moderator
12,344 Views

Seems like we have patch for this https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2020/fatal--cannot-generate-ip-in-a-windows-evironment-.html.

 

The error message reported are similar,

ERROR: Found Error => border: 2019.06.13.20:07:57 Info: p0: "hps_sdram" instantiated altera_mem_if_ddr3_hard_phy_core "p0"

ERROR: Found Error => border: 2019.06.13.20:07:57 Error: seq: Cannot locate the Nios II Command Shell. Nios II SBT must be installed to generate UniPHY IP cores.

ERROR: Found Error => border: 2019.06.13.20:07:57 Error: seq: An error occurred

ERROR: Found Error => border: while executing

ERROR: Found Error => border: "error "An error occurred""

ERROR: Found Error => border: (procedure "_error" line 8)

ERROR: Found Error => border: invoked from within

ERROR: Found Error => border: "_error "Cannot locate the Nios II Command Shell. Nios II SBT must be installed to generate UniPHY IP cores.""

 

Can you try this patch and let us know the result?

0 Kudos
MTw
Novice
12,344 Views

Hi Kenny,

 

as you might have seen in my first post from March, 23. I already had installed the mentioned patch 0.02std described in your link.

I tried againg to generate the HPS core and it failed in the same way.:

Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Error during execution of "{C:/intelfpga/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Execution of command "{C:/intelfpga/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed Error: border: Error during execution of script generate_hps_sdram.tcl: seq: child process exited abnormally Error: border: Error during execution of script generate_hps_sdram.tcl: seq: add_fileset_file: No such file C:/Users/twesten/AppData/Local/Temp/alt8424_5228789529751528489.dir/0004_seq_gen/hps_AC_ROM.hex Error: border: Error during execution of script generate_hps_sdram.tcl: Generation stopped, 3 or more modules remaining Error: border: Execution of script generate_hps_sdram.tcl failed Error: border: 2020.06.11.09:06:54 Info: Error: border: ******************************************************************************************************************** Error: border: Error: border: Use qsys-generate for a simpler command-line interface for generating IP. Error: border: Error: border: Run ip-generate with switch --remove-qsys-generate-warning to prevent this notice from appearing in subsequent runs. Error: border: Error: border: ******************************************************************************************************************** Error: border: 2020.06.11.09:07:04 Warning: Ignored parameter assignment device=5CSEBA6U23C7 Error: border: 2020.06.11.09:07:04 Warning: Ignored parameter assignment extended_family_support=true Error: border: 2020.06.11.09:07:17 Warning: hps_sdram: 'Quick' simulation modes are NOT timing accurate. Some simulation memory models may issue warnings or errors Error: border: 2020.06.11.09:07:17 Warning: hps_sdram.seq: This module has no ports or interfaces Error: border: 2020.06.11.09:07:17 Warning: hps_sdram.p0: p0.scc must be exported, or connected to a matching conduit. Error: border: 2020.06.11.09:07:17 Warning: hps_sdram.as: as.afi_init_cal_req must be exported, or connected to a matching conduit. Error: border: 2020.06.11.09:07:17 Warning: hps_sdram.as: as.tracking must be exported, or connected to a matching conduit. Error: border: 2020.06.11.09:07:17 Warning: hps_sdram.c0: c0.status must be exported, or connected to a matching conduit. Error: border: 2020.06.11.09:07:17 Warning: hps_sdram.p0: p0.avl must be connected to an Avalon-MM master Error: border: 2020.06.11.09:07:17 Info: hps_sdram: Generating altera_mem_if_hps_emif "hps_sdram" for QUARTUS_SYNTH Error: border: 2020.06.11.09:07:23 Info: pll: "hps_sdram" instantiated altera_mem_if_hps_pll "pll" Error: border: 2020.06.11.09:07:23 Info: p0: Generating clock pair generator Error: border: 2020.06.11.09:07:24 Info: p0: Generating hps_sdram_p0_altdqdqs Error: border: 2020.06.11.09:07:32 Info: p0: Error: border: 2020.06.11.09:07:32 Info: p0: ***************************** Error: border: 2020.06.11.09:07:32 Info: p0: Error: border: 2020.06.11.09:07:32 Info: p0: Remember to run the hps_sdram_p0_pin_assignments.tcl Error: border: 2020.06.11.09:07:32 Info: p0: script after running Synthesis and before Fitting. Error: border: 2020.06.11.09:07:32 Info: p0: Error: border: 2020.06.11.09:07:32 Info: p0: ***************************** Error: border: 2020.06.11.09:07:32 Info: p0: Error: border: 2020.06.11.09:07:32 Info: p0: "hps_sdram" instantiated altera_mem_if_ddr3_hard_phy_core "p0" Error: border: 2020.06.11.09:07:32 Error: seq: Error during execution of "{C:/intelfpga/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally Error: border: 2020.06.11.09:07:32 Error: seq: Execution of command "{C:/intelfpga/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed Error: border: 2020.06.11.09:07:32 Error: seq: child process exited abnormally Error: border: 2020.06.11.09:07:32 Error: seq: add_fileset_file: No such file C:/Users/twesten/AppData/Local/Temp/alt8424_5228789529751528489.dir/0004_seq_gen/hps_AC_ROM.hex Error: border: while executing Error: border: "add_fileset_file $file_name [::alt_mem_if::util::hwtcl_utils::get_file_type $file_name 0] PATH $file_pathname" Error: border: ("foreach" body line 4) Error: border: invoked from within Error: border: "foreach file_pathname $return_files_sw { Error: border: _dprint 1 "Preparing to add $file_pathname" Error: border: set file_name [file tail $file_pathname] Error: border: add_fileset_file $..." Error: border: (procedure "generate_sw" line 18) Error: border: invoked from within Error: border: "generate_sw $name $fileset" Error: border: ("if" then script line 4) Error: border: invoked from within Error: border: "if {[string compare -nocase $fileset QUARTUS_SYNTH] == 0} { Error: border: set top_level_file "altera_mem_if_hhp_qseq_synth_top.v" Error: border: add_fileset_file $top_level_fi..." Error: border: (procedure "generate_files" line 4) Error: border: invoked from within Error: border: "generate_files $name QUARTUS_SYNTH" Error: border: (procedure "generate_synth" line 3) Error: border: invoked from within Error: border: "generate_synth altera_mem_if_hhp_qseq_synth_top" Error: border: 2020.06.11.09:07:32 Info: seq: "hps_sdram" instantiated altera_mem_if_hhp_ddr3_qseq "seq" Error: border: 2020.06.11.09:07:32 Error: Generation stopped, 3 or more modules remaining Error: border: 2020.06.11.09:07:32 Info: hps_sdram: Done "hps_sdram" with 7 modules, 33 files Info: border: "hps_io" instantiated altera_interface_generator "border" Error: Generation stopped, 2 or more modules remaining Info: hps: Done "hps" with 64 modules, 116 files Error: qsys-generate failed with exit code 1: 66 Errors, 4 Warnings Info: Finished: Create HDL design files for synthesis

Yours, Mirco

0 Kudos
Kenny_Tan
Moderator
11,888 Views

Hi Mirco,

 

Thanks, can you try the below suggestion? It should be working as we have success story from our side. (running win10 release 1809 build 17763)  

 

- uninstalled Ubuntu 18.04 (If you have)

- uninstalled wsl  

- re-installed wsl

- downloaded latest Ubuntu 18.04 from Microsoft Shop & installed it

- executed following on Ubuntu shell :   

   sudo apt-get update

   sudo apt install wsl 

  sudo apt install dos2unix

  sudo apt install make 

  sudo apt-get upgrade 

 

https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base/tools/2019/wslpath---nios--ii-eds-installation-directory-or-nios-ii-project.html

 

0 Kudos
spapp2
Beginner
11,393 Views

hello Kenny,

does this fix work even for 18.1 std? i was told the cygwin problem is only for 19.1 and above. can you please let me know? I am stuck and need to get this going.

0 Kudos
Reply