Forum Discussion
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?
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 synthesisYours, Mirco
- KennyT_altera5 years ago
Super Contributor
Hi Mirco,
Thanks, can you try the below suggestion? It should be working as we have success story from our side. (running win10 release 1809 build 17763)
- 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
- spapp24 years ago
New Contributor
hello Kenny,
does this fix work even for 18.1 std? i was told the cygwin problem is only for 19.1 and above. can you please let me know? I am stuck and need to get this going.
- MTw5 years ago
New Contributor
Hi Kenny,
I've tried this and it works great.
To install / activate wls I used this information: https://docs.microsoft.com/de-de/windows/wsl/install-win10
I have successfully generated the HPS core and compiled the Quartus Project using Quartus Version 19.1.0 SP0.02std Standard Edition on a Windows 10 OS.
Thank you very much!
- MV5 years ago
Occasional Contributor
I am running into the same issue. Curious if the (exactly) six (6) months since the last post were enough to address this error. Using Quartus 20.1 (installed this week) (and didn't dare using AMD CPU - running on Intel Xeon
) Thanks - M.
- MV5 years ago
Occasional Contributor
Hi,
I can confirm that the workaround installing WSL does work.
Perhaps I should have been more patient and try it first but it was yet another hurdle - fighting the whole Saturday with Intel documents with broken links. (If you ask me - the Altera transition was far from being smooth).
It was a bit softer than I thought since I didn't have to install Linux version of Quartus but simple presence of the (Ubuntu 20) makes Quartus behave.
On top of that 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 announced this as fixed in February and yet another service pack later it doesn't seem so.Life goes on.
Thanks - M