- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the following error when trying to generate HDL for a system:
Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Error during execution of "{C:/intelfpga_lite/19.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally
I am using Quartus Lite 19.1 and have installed the windows patch. I have also found another work around for older versions that needed to uncheck a Linux support setting as well. I thought that perhaps I had some incorrect setting but I tried a GHRD Qsys file for the DE10 Nano kit that I am using and this also failed with the same error. Help!!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you try out this solution?
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any update?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have exactly the same issue and have tried both your your above suggestions without luck. I am trying to generate the GHRD for the DE-10 Nano (unchanged) and had it fail on Quartus 18.1 lite. I assumed it was a conversion error (as the GHRD (since it was made with 16.0. Tried it with 17.1 lite, 16.1 lite and 16.0 lite and all had the same issue. Contacted Terasci supported and they said they generated using standard not lite. Installed a trial of 16.0 Standard, same issue. Terasic now suggests trying a different computer or reinstalling the O/S =(.
Here is a dump of the generation report if it helps...
...
[I trimmed the working part so the post would be small enough]
...
Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Error during execution of "{C:/altera/16.0/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:/altera/16.0/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: ]2;Altera Nios II EDS 16.0 [gcc4]
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/mattpaul/AppData/Local/Temp/alt8423_4643917322721710918.dir/0003_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.10.10:47:25 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.10.10:47:29 Warning: Ignored parameter assignment device=5CSEBA6U23I7
Error: border: 2020.06.10.10:47:29 Warning: Ignored parameter assignment extended_family_support=true
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram: 'Quick' simulation modes are NOT timing accurate. Some simulation memory models may issue warnings or errors
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram.seq: This module has no ports or interfaces
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram.p0: p0.scc must be exported, or connected to a matching conduit.
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram.as: as.afi_init_cal_req must be exported, or connected to a matching conduit.
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram.as: as.tracking must be exported, or connected to a matching conduit.
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram.c0: c0.status must be exported, or connected to a matching conduit.
Error: border: 2020.06.10.10:47:33 Warning: hps_sdram.p0: p0.avl must be connected to an Avalon-MM master
Error: border: 2020.06.10.10:47:33 Info: hps_sdram: Generating altera_mem_if_hps_emif "hps_sdram" for QUARTUS_SYNTH
Error: border: 2020.06.10.10:47:35 Info: pll: "hps_sdram" instantiated altera_mem_if_hps_pll "pll"
Error: border: 2020.06.10.10:47:35 Info: p0: Generating clock pair generator
Error: border: 2020.06.10.10:47:36 Info: p0: Generating hps_sdram_p0_altdqdqs
Error: border: 2020.06.10.10:47:42 Info: p0:
Error: border: 2020.06.10.10:47:42 Info: p0: *****************************
Error: border: 2020.06.10.10:47:42 Info: p0:
Error: border: 2020.06.10.10:47:42 Info: p0: Remember to run the hps_sdram_p0_pin_assignments.tcl
Error: border: 2020.06.10.10:47:42 Info: p0: script after running Synthesis and before Fitting.
Error: border: 2020.06.10.10:47:42 Info: p0:
Error: border: 2020.06.10.10:47:42 Info: p0: *****************************
Error: border: 2020.06.10.10:47:42 Info: p0:
Error: border: 2020.06.10.10:47:42 Info: p0: "hps_sdram" instantiated altera_mem_if_ddr3_hard_phy_core "p0"
Error: border: 2020.06.10.10:47:43 Error: seq: Error during execution of "{C:/altera/16.0/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally
Error: border: 2020.06.10.10:47:43 Error: seq: Execution of command "{C:/altera/16.0/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed
Error: border: 2020.06.10.10:47:43 Error: seq: ]2;Altera Nios II EDS 16.0 [gcc4]
Error: border: 2020.06.10.10:47:43 Error: seq: child process exited abnormally
Error: border: 2020.06.10.10:47:43 Error: seq: add_fileset_file: No such file C:/Users/mattpaul/AppData/Local/Temp/alt8423_4643917322721710918.dir/0003_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.10.10:47:43 Info: seq: "hps_sdram" instantiated altera_mem_if_hhp_ddr3_qseq "seq"
Error: border: 2020.06.10.10:47:43 Error: Generation stopped, 3 or more modules remaining
Error: border: 2020.06.10.10:47:43 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: soc_system: Done "soc_system" with 65 modules, 123 files
Error: qsys-generate failed with exit code 1: 68 Errors, 4 Warnings
Info: Finished: Create HDL design files for synthesis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This error happened due to the updated windows 10 version, if you have linux machine, you can generate it there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am checking internally if there are other workaround, but for now, try to use linux if you can.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Kenny. Do you know if the Windows 10 issue would interfere if I used a Linux Virtual Machine on top of it, or does it require a linux as the host O/S?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. error message is almost the same as mention below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi PMatt10 my workaround was to use a linux machine. A pain and completely unnecessary but this works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Patch link is broken. Could you post a new link? Thanks. I'm running into the same error as others on this page.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kenny, thank you very much for posting the link.
I just tried to generate HDL and this error occurred just about one hour ago. When I installed the patch from the link, it generated the HDL. I just bought DE10-nano with Cyclone V SoC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good to hear that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kenny, the patch you posted is targeting 19.1 standard, but we are facing "Error: border: Execution of script generate_hps_sdram.tcl failed" issue in 20.1 Lite.
Tried to install the patch, but it doesn't work.
Do you have other suggestions? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The same issue with Quartus 20.1 LE and Win10
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello,
I am seeing this issue on 18.1 std. can you please let me know if there is a patch for that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i had the same issue on my machine with quartus 18.1 std and spent weeks on trying to understand why this was happening. after weeks i found out that the sw Carbon black was actually blocking some nios scripts from running on my machine which was causing this from happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Same Issue on Windows 10, Quartus Lite v21.1. Tried running as administrator but no change. Looked at my anti-virus logs but didn't see anything there either.
OS version:
Edition Windows 10 Pro for Workstations
Version 21H2
Installed on 12/16/2021
OS build 19044.1415
Experience Windows Feature Experience Pack 120.2212.3920.0
Here's an error log with several lines removed for size:
Error: border: Error during execution of script generate_hps_sdram.tcl: seq: Error during execution of "{C:/intelfpga_lite/21.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_lite/21.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/TimK/AppData/Local/Temp/alt8996_4353469586298105083.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: 2022.01.04.08:42:45 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: 2022.01.04.08:42:48 Warning: Ignored parameter assignment device=5CSEBA6U23I7
Error: border: 2022.01.04.08:42:48 Warning: Ignored parameter assignment extended_family_support=true
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram: 'Quick' simulation modes are NOT timing accurate. Some simulation memory models may issue warnings or errors
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram.seq: This module has no ports or interfaces
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram.p0: p0.scc must be exported, or connected to a matching conduit.
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram.as: as.afi_init_cal_req must be exported, or connected to a matching conduit.
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram.as: as.tracking must be exported, or connected to a matching conduit.
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram.c0: c0.status must be exported, or connected to a matching conduit.
Error: border: 2022.01.04.08:42:53 Warning: hps_sdram.p0: p0.avl must be connected to an Avalon-MM master
Error: border: 2022.01.04.08:42:53 Info: hps_sdram: Generating altera_mem_if_hps_emif "hps_sdram" for QUARTUS_SYNTH
Error: border: 2022.01.04.08:42:55 Info: pll: "hps_sdram" instantiated altera_mem_if_hps_pll "pll"
Error: border: 2022.01.04.08:42:55 Info: p0: Generating clock pair generator
Error: border: 2022.01.04.08:42:56 Info: p0: Generating hps_sdram_p0_altdqdqs
Error: border: 2022.01.04.08:43:01 Info: p0:
Error: border: 2022.01.04.08:43:01 Info: p0: *****************************
Error: border: 2022.01.04.08:43:01 Info: p0:
Error: border: 2022.01.04.08:43:01 Info: p0: Remember to run the hps_sdram_p0_pin_assignments.tcl
Error: border: 2022.01.04.08:43:01 Info: p0: script after running Synthesis and before Fitting.
Error: border: 2022.01.04.08:43:01 Info: p0:
Error: border: 2022.01.04.08:43:01 Info: p0: *****************************
Error: border: 2022.01.04.08:43:01 Info: p0:
Error: border: 2022.01.04.08:43:01 Info: p0: "hps_sdram" instantiated altera_mem_if_ddr3_hard_phy_core "p0"
Error: border: 2022.01.04.08:43:02 Error: seq: Error during execution of "{C:/intelfpga_lite/21.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt": child process exited abnormally
Error: border: 2022.01.04.08:43:02 Error: seq: Execution of command "{C:/intelfpga_lite/21.1/quartus/../nios2eds/Nios II Command Shell.bat} make all 2>> stderr.txt" failed
Error: border: 2022.01.04.08:43:02 Error: seq: child process exited abnormally
Error: border: 2022.01.04.08:43:02 Error: seq: add_fileset_file: No such file C:/Users/TimK/AppData/Local/Temp/alt8996_4353469586298105083.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: 2022.01.04.08:43:02 Info: seq: "hps_sdram" instantiated altera_mem_if_hhp_ddr3_qseq "seq"
Error: border: 2022.01.04.08:43:02 Error: Generation stopped, 3 or more modules remaining
Error: border: 2022.01.04.08:43:02 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: soc_system: Done "soc_system" with 59 modules, 121 files
Error: qsys-generate failed with exit code 1: 66 Errors, 2 Warnings
Info: Finished: Create HDL design files for synthesis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Tim, hi others, searching for solutions!
At some point some software designer had the brilliant idea that the life of user could become more interesting by using the NIOS tool chain eben for projects not using NIOS. No one will read the additional requirements for the NIOS toolchain when not using NIOS.
I did and installed WSL and Ubuntu on Linux. (See How to install the Windows* Subsystem for Linux* (WSL) on Windows* OS? )
Well, didn't help.
Then I found Why do I get an error in Platform Designer ... , this helped.
I don't know if you really need the WSL step. Just in case you do, I leave it in here.
Have a lot of fun.

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