Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
1,536 Views

Qsys HPS(Hard Processor Ssystem) Errors

I'm trying to generate a system including HPS(Hard Processor System) of the Cyclone V SoC in Quartus Prime Qsys. At the "Generate HDL" stage I got the following errors. I'm not expecting all the error codes to be analyzed but I put them here because someone might have ecnountered similar errrors and solved it. 

 

 

I'm using Quartus Prime 17.0 standard edition on Windows 10. I've tried the Quartus Prime versions 13.1, 15.1 and 16.0 still same errors. I tried different configurations on Qsys(connecting HPS to different hardware units, configuring the HPS in a different way) still got the same errors. Tried to create project in different levels of folders, no help. I would be glad if anyone has any opinion about it. 

 

The second from the last error is actually one line the copy/paste action made it multiple. 

 

 

Error: border: Error during execution of script generate_hps_sdram.tcl: add_parameter: string not allowed for EParameterType, must be in {[INTEGER, NATURAL, POSITIVE, BOOLEAN, STD_LOGIC, STD_LOGIC_VECTOR, STRING, STRING_LIST, INTEGER_LIST, LONG, FLOAT]} 

Error: border: Error during execution of script generate_hps_sdram.tcl: add_parameter AC_ROM_MR0 : null 

Error: border: Error during execution of script generate_hps_sdram.tcl: set_parameter_property: No parameter AC_ROM_MR0 

Error: border: Error during execution of script generate_hps_sdram.tcl: Could not load altera_mem_if_hps_emif 

Error: border: Execution of script generate_hps_sdram.tcl failed 

Error: border: 2017.05.20.17:09:19 Error: add_parameter: string not allowed for EParameterType, must be in {[INTEGER, NATURAL, POSITIVE, BOOLEAN, STD_LOGIC, STD_LOGIC_VECTOR, STRING, STRING_LIST, INTEGER_LIST, LONG, FLOAT]} 

Error: border: 2017.05.20.17:09:19 Error: add_parameter AC_ROM_MR0 : null 

Error: border: 2017.05.20.17:09:19 Error: set_parameter_property: No parameter AC_ROM_MR0 

Error: border: Error during execution of script generate_hps_sdram.tcl: Could not load altera_mem_if_hps_emif 

Error: border: Execution of script generate_hps_sdram.tcl failed 

Error: border: 2017.05.22.01:36:18 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: 2017.05.22.01:36:22 Error: add_parameter: string not allowed for EParameterType, must be in {[INTEGER, NATURAL, POSITIVE, BOOLEAN, STD_LOGIC, STD_LOGIC_VECTOR, STRING, STRING_LIST, INTEGER_LIST, LONG, FLOAT]} 

Error: border: 2017.05.22.01:36:22 Error: add_parameter AC_ROM_MR0 : null 

Error: border: 2017.05.22.01:36:22 Error: set_parameter_property: No parameter AC_ROM_MR0 

Error: border: while executing 

Error: border: "set_parameter_property AC_ROM_MR0 DERIVED true" 

Error: border: (procedure "_create_derived_mode_register_parameters" line 11) 

Error: border: invoked from within 

Error: border: "_create_derived_mode_register_parameters" 

Error: border: invoked from within 

Error: border: "alt_mem_if::gui::common_ddr_mem_model::create_parameters" 

Error: border: (file "common_hps_emif.tcl" line 42) 

Error: border: (file line 42) 

Error: border: invoked from within 

Error: border: "source common_hps_emif.tcl" 

Error: border: (file "C:/intelfpga/17.0/ip/altera/alt_mem_if/alt_mem_if_interfaces/alt_mem_if_hps_emif/altera_mem_if_hps_emif_hw.tcl" line 22) 

Error: border: 2017.05.20.17:09:19 Error: Could not load altera_mem_if_hps_emif 

Error: border: Error during execution of script generate_hps_sdram.tcl: add_parameter: string not allowed for EParameterType, must be in {[INTEGER, NATURAL, POSITIVE, BOOLEAN, STD_LOGIC, STD_LOGIC_VECTOR, STRING, STRING_LIST, INTEGER_LIST, LONG, FLOAT]} 

Error: border: Error during execution of script generate_hps_sdram.tcl: add_parameter AC_ROM_MR0 : null 

Error: border: Error during execution of script generate_hps_sdram.tcl: set_parameter_property: No parameter AC_ROM_MR0 

Error: border: Error during execution of script generate_hps_sdram.tcl: Could not load altera_mem_if_hps_emif 

Error: border: Execution of script generate_hps_sdram.tcl failed 

Error: border: 2017.05.22.01:36:18 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: 2017.05.22.01:36:22 Error: add_parameter: string not allowed for EParameterType, must be in {[INTEGER, NATURAL, POSITIVE, BOOLEAN, STD_LOGIC, STD_LOGIC_VECTOR, STRING, STRING_LIST, INTEGER_LIST, LONG, FLOAT]} 

Error: border: 2017.05.22.01:36:22 Error: add_parameter AC_ROM_MR0 : null 

Error: border: 2017.05.22.01:36:22 Error: set_parameter_property: No parameter AC_ROM_MR0 

Error: border: while executing 

Error: border: "set_parameter_property AC_ROM_MR0 DERIVED true" 

Error: border: (procedure "_create_derived_mode_register_parameters" line 11) 

Error: border: invoked from within 

Error: border: "_create_derived_mode_register_parameters" 

Error: border: (procedure "alt_mem_if::gui::common_ddr_mem_model::create_parameters" line 7) 

Error: border: invoked from within 

Error: border: "alt_mem_if::gui::common_ddr_mem_model::create_parameters" 

Error: border: (file "common_hps_emif.tcl" line 42) 

Error: border: (file line 42) 

Error: border: invoked from within 

Error: border: "source common_hps_emif.tcl" 

Error: border: (file "C:/intelfpga/17.0/ip/altera/alt_mem_if/alt_mem_if_interfaces/alt_mem_if_hps_emif/altera_mem_if_hps_emif_hw.tcl" line 22) 

Error: border: 2017.05.22.01:36:22 Error: Could not load altera_mem_if_hps_emif 

Error: border: add_fileset_file: No such file C:/Users/user/AppData/Local/Temp/alt7307_6443717614927326703.dir/0002_border_gen/hps_sdram.v 

while executing 

"add_fileset_file [file join $dest_subdir $dest_filename] $file_type PATH [file join $src_fulldir $filename]" 

("if" then script line 54) 

invoked from within 

"if {[lsearch -exact [split $valid_filesets ","] $fileset] != -1} { 

 

 

if {[regexp {.*\.vh[do]} $filename] } { 

set file_type "VHDL" 

} elseif {[reg..." 

(procedure "alt_mem_if::util::iptclgen::advertize_file" line 18) 

invoked from within 

"alt_mem_if::util::iptclgen::advertize_file $fileset ${sdram_outname}.v $tmpdir {} $fileset" 

("if" then script line 3) 

invoked from within 

"if {[string compare -nocase $fileset "QUARTUS_SYNTH"] == 0 || 

[string compare -nocase $fileset "SIM_VERILOG"] == 0} { 

 

 

alt_mem_if::util::iptclg..." 

(procedure "generate_hps_emif_component" line 44) 

invoked from within 

"generate_hps_emif_component "hps" QUARTUS_SYNTH" 

("if" then script line 2) 

invoked from within 

"if {[info exists properties(SUPPRESS_SDRAM_SYNTH)] && !$properties(SUPPRESS_SDRAM_SYNTH)} { 

generate_hps_emif_component "hps" QUARTUS_SYNTH 

} " 

(procedure "synth" line 8) 

invoked from within 

"synth test_hps_0_hps_io_border" 

Error: qsys-generate failed with exit code 1: 31 Errors, 8 Warnings
0 Kudos
5 Replies
Altera_Forum
Honored Contributor I
409 Views

Clearly, there's something going on with the hard memory controller that's part of the HPS. In Qsys, do you have any warning or error messages in the Messages window? Have you reviewed your settings for the memory controller?

Altera_Forum
Honored Contributor I
409 Views

Here are the warnings that I got before generating hdl. I also attached my Qysys configuration. But as I said, it isn't related to the configuration or presets of the HPS. I tried different variations already.  

 

One more update: A friend also tried this and got exactly the same errors. We both use Windows 10. But when I tried it in a different computer with windows 8 generations is completed without errors. I suspect the last update of Windows 10 has messed up something within Qsys. 

 

Warning: test.hps_0: "Configuration/HPS-to-FPGA user 0 clock frequency" (desired_cfg_clk_mhz) requested 100.0 MHz, but only achieved 97.368421 MHz 

Warning: test.hps_0: "QSPI clock frequency" (desired_qspi_clk_mhz) requested 400.0 MHz, but only achieved 370.0 MHz 

Warning: test.hps_0: 1 or more output clock frequencies cannot be achieved precisely, consider revising desired output clock frequencies. 

Warning: test.hps_0: hps_0.memory must be exported, or connected to a matching conduit. 

Warning: test.hps_0: hps_0.hps_io must be exported, or connected to a matching conduit.
Altera_Forum
Honored Contributor I
409 Views

The "memory" and "hps_io" conduits, as mentioned in the warnings, must be exported so they can be connected to the dedicated HPS pins. You also have to run a script, generated by Qsys, that sets up the memory I/O pins (the name of the script escapes me right now). I'm not sure if this is the cause of your issues, but it can't hurt to try it. 

 

Qsys relies on Java, so also make sure you've got Java up to date.
Altera_Forum
Honored Contributor I
409 Views

Unfortunately, exporting memory and hps_io didn't help. Updating Java didn't help either. Thank you for your reply by the way.

Altera_Forum
Honored Contributor I
409 Views

I found out that problem is the default language of Windows 10. I changed it into English(United States) (Start Menu->Settings->Time & language) and the errors are gone.

Reply