Forum Discussion

MTw's avatar
MTw
Icon for New Contributor rankNew Contributor
5 years ago

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

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

27 Replies

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

    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

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

    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,

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

    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.

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

    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.

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

    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?

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

      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

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

    Further investigation, if the patch above does not work. You may use the workaround mention below:

    - 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

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

    I have a similar issue with 20.1. I'm trying to build a project which builds fine in 18.1, at the Qsys generation stage I get the following errors:

    Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Error during execution of "{C:/intelfpga/20.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/20.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/JONATH~1/AppData/Local/Temp/alt8432_5628436629018323475.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 have ensured the TEMP variables are defined as local, on the C drive. Not sure why it has JONATH~1 in the path.

    I am on Windows 10.0.18362

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

    Since this thread had been answered, we shall close this thread. If you still need further assistance, you are welcome to post a response within 15days or open a new thread, some one will be right with you.