FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6352 Discussions

DDR3 SDRAM Controller with UniPHY 11.0 Generation Failed

Altera_Forum
Honored Contributor II
1,627 Views

When I use the MegaWizard Plug-in Manager to generate my ddr2 sdram controller with UniPHY, there are some such error informations. 

What is wrong with it? and how can i settle down it? 

 

Thanks everyone! 

 

 

Error: add_fileset_file: No such file C:/Users/fudan/AppData/Local/Temp/alt5155_6615683428428331481.dir/0001_p0_gen/qsys/ddr3_p0_sequencer_rom.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 "DDR3" $tmpdir QUARTUS_SYNTH] { 

set file_name [file tail $gener..." 

("if" then script line 2) 

invoked from within 

"if {[string compare -nocase [get_parameter_value NIOS_SEQUENCER] "true"] == 0} { 

foreach generated_file [alt_mem_if::gen::uniphy_gen::generate_seque..." 

(procedure "generate_synth" line 24) 

invoked from within 

"generate_synth ddr3_p0" 

 

DDR2 SDRAM has the same error? 

The finial info is generation failure, though there are a lot of files in my project dir.
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
313 Views

I have the same problem when generating Uniphy DDR2 controller with both SOPC and megawizard. 

I'm running Ubuntu 10.04 

Anyone????
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

I've also ran into this type of error (but not that exact wording) when trying to compile with a DDR controller. 

 

In my case, it seemed to only occur when using the web edition on a part that the web edition doesn't support. I had two cases 1) Using QSYS to compile for a stratix part with the web edition and it went away when I switched to a 30 day licensed version. 2) Using Qsys with a web edition on a stratix part and it went away when switching to a part supported by the web edition. 

 

David Smith
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

Hello Liuokay, 

 

Did you manage to resolve this issue?
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

I'm using V11.sp1 64bit. When I use preset list, Qsys removes the Avalon slave interface. To get around it, you have to change one of memory settings and restore back. That fixes the Avalon slave interface. When I tried to generate testbench, I get also errors during generation.

0 Kudos
Altera_Forum
Honored Contributor II
313 Views

This problem occur when dash is your default shell instead of bash 

 

$ ls -l /bin/sh 

/bin/sh -> dash 

 

Solution is to change your default shell to bash 

OR 

edit nios2eds/bin/elf2hex, change first line to# !/bin/bash
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

 

--- Quote Start ---  

This problem occur when dash is your default shell instead of bash 

 

$ ls -l /bin/sh 

/bin/sh -> dash 

 

Solution is to change your default shell to bash 

OR 

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

--- Quote End ---  

 

 

I experienced same issue on Ubuntu 12.04.1. 

 

The 2nd fix above worked in my situation; Thanks StijnLast!
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

 

--- Quote Start ---  

I experienced same issue on Ubuntu 12.04.1. 

 

The 2nd fix above worked in my situation; Thanks StijnLast! 

--- Quote End ---  

 

 

This bug still exists. Should the admins/developers be notified or do they read the lists?
0 Kudos
Altera_Forum
Honored Contributor II
313 Views

 

--- Quote Start ---  

This problem occur when dash is your default shell instead of bash 

 

$ ls -l /bin/sh 

/bin/sh -> dash 

 

Solution is to change your default shell to bash 

OR 

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

--- Quote End ---  

 

 

It's really worked. Thanks. I tested on Ubuntu 16.04
0 Kudos
Reply