Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15321 Discussions

Platform Design tool gets error when generating 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"

bpere15
Novice
2,501 Views

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!!

0 Kudos
21 Replies
Kenny_Tan
Moderator
2,421 Views

Can you try out this solution?

 

1) https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/emif/2...

 

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,

Kenny_Tan
Moderator
2,421 Views

Here is the screenshot

Kenny_Tan
Moderator
2,421 Views

Any update?

PMatt10
Beginner
2,421 Views

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

 

 

Kenny_Tan
Moderator
2,421 Views

This error happened due to the updated windows 10 version, if you have linux machine, you can generate it there.

Kenny_Tan
Moderator
2,421 Views

I am checking internally if there are other workaround, but for now, try to use linux if you can.

PMatt10
Beginner
2,421 Views

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?

Kenny_Tan
Moderator
2,421 Views
bpere15
Novice
2,421 Views

Hi PMatt10 my workaround was to use a linux machine. A pain and completely unnecessary but this works.

Kenny_Tan
Moderator
2,421 Views

Seems like we have patch for this https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base....

 

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?

krose
Beginner
640 Views

Patch link is broken. Could you post a new link? Thanks. I'm running into the same error as others on this page.

Kenny_Tan
Moderator
2,421 Views

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

 

JICHI1
Beginner
2,421 Views

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

Kenny_Tan
Moderator
2,421 Views

Good to hear that.

UOG
Novice
2,086 Views

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!

ALYN
Beginner
2,060 Views

The same issue with Quartus 20.1 LE and Win10

spapp2
Beginner
1,635 Views

hello, 

I am seeing this issue on 18.1 std. can you please let me know if there is a patch for that?

spapp2
Beginner
1,615 Views

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. 

TimK421
Beginner
784 Views

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

 

JWies1
Novice
620 Views

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.

Reply