Forum Discussion

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

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

22 Replies

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

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

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

      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's avatar
    ALYN
    Icon for New Contributor rankNew Contributor

    The same issue with Quartus 20.1 LE and Win10

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

    hello,

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

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

    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's avatar
    TimK421
    Icon for New Contributor rankNew Contributor

    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's avatar
      JWies1
      Icon for New Contributor rankNew Contributor

      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.

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

      I installed WSL2 with Ubuntu 18.04 and ran the "sudo" commands listed above and everything worked with Altera v21.1

      Link for reference: community.intel.com/t5/Intel-Quartus-Prime-Software/Platform-Design-tool-gets-error-when-generating-system-Error/m-p/638649#M59904

      As stated before, this has seemed to work for several customers. Thanks Kenny!

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

    Hi all,

    today I have the same problem. The main reason is that I did not install Ubuntu 18.04 LTS on the Windows subsystem as described in the instructions as below. After I completed the following requirements, everything works fine.

    I used the latest version 22.1.1 of Quartus on Windows 10.

    ** To install Ubuntu 18.04 LTS : https://www.intel.com/content/www/us/en/docs/programmable/683525/21-3/installing-windows-subsystem-for-linux.html

    ** To install Eclipse IDE: https://www.intel.com/content/www/us/en/docs/programmable/683525/21-3/windows-installation.html