Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Qsys throws error while generating DDR2 Uniphy

Hi,

I am getting the following error while generating the Qsys system in Linux.

Error: s0: add_fileset_file: No such file /tmp/alt5543_8846100032461293346.dir/0025_s0_gen/qsys/nios_dma_dram_mem_if_ddr2_emif_0_s0_sequencer_mem.hex

while executing

"add_fileset_file $file_name [::alt_mem_if::util::hwtcl_utils::get_file_type $file_name 0] PATH $generated_file"

("foreach" body line 4)

invoked from within

"foreach generated_file [alt_mem_if::gen::uniphy_gen::generate_sequencer_files $name "DDR2" $tmpdir QUARTUS_SYNTH] {

set file_name [file tail $genera..."

(procedure "generate_synth" line 8)

invoked from within

"generate_synth nios_dma_dram_mem_if_ddr2_emif_0_s0"

The design contains a DDR, Nios processor, jtag uart, sys id and dma controller.

I am using Quartus 12.0

I am invoking Generate from Qsys with root permissions.

Please find the Qsys file attached for your reference (rename attached file to .qsys to open in Qsys)

Appreciate your feedback

Thanks

Deepak

5 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Hi,

    I am getting the following error while generating the Qsys system in Linux...

    --- Quote End ---

    Unfortunately I don't work with QII under Linux.

    I've generated your provided Qsys system under Windows Q12.0 64-Bit without any errors.

    I've attached the complete project with all generated files.

    Maybe you'll have to remove all of your intermediate files?

    I do that very often...
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you for the generated system.

    I tried cleaning up the /tmp directory. Unfortunately, that didnt help.

    My guess is that this is probably a Qsys linux bug ?

    Deepak
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    edit altera/13.0sp1/nios2eds/bin/elf2hex, change first line to# !/bin/bash