Community
cancel
Showing results for 
Search instead for 
Did you mean: 
bpere15
Novice
622 Views

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"

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
15 Replies
KennyT_Intel
Moderator
556 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,

KennyT_Intel
Moderator
556 Views

Here is the screenshot

KennyT_Intel
Moderator
556 Views

Any update?

PMatt10
Beginner
556 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

 

 

KennyT_Intel
Moderator
556 Views

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

KennyT_Intel
Moderator
556 Views

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

PMatt10
Beginner
556 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?

bpere15
Novice
556 Views

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

KennyT_Intel
Moderator
556 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?

KennyT_Intel
Moderator
556 Views

Seems like we have patch for this https://www.intel.com/content/altera-www/global/en_us/index/support/support-resources/knowledge-base.... error message is almost the same as mention below.

KennyT_Intel
Moderator
556 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
556 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. ​

KennyT_Intel
Moderator
556 Views

Good to hear that.

UOG
Novice
221 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
195 Views

The same issue with Quartus 20.1 LE and Win10