Forum Discussion
Altera_Forum
Honored Contributor
21 years agoChange the ptf-file at an existing project
Hello,
I wont to change the ptf-file at an existing NIOS II IDE project (FPGA/NIOS design has been updated). Can I do this without making a new project (I don't want to set my project preferences at every hw change). Just changing the ptf-file ends with an build error. Thank you for any suggestions, Ralf Trübenbach6 Replies
- Altera_Forum
Honored Contributor
Hi ralf,
u can't change the .ptf file linked to a library project in the IDE, so if u don't want to create a new library project, u have to insert your new .ptf file in the old hardware project (and recompile it...), renaming it with the old .ptf file's name. I think it works. - Altera_Forum
Honored Contributor
I have already tried this and got the following error:
make -s rebuild Creating generated_app.mk... make[1]: *** No rule to make target `generated_app_clean', needed by `clean'. Stop. make: *** [rebuild] Error 2 Build completed - Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- make[1]: *** No rule to make target `generated_app_clean', needed by `clean'. Stop. make: *** [rebuild] Error 2[/b] --- Quote End --- The same error will be appeared when "Build project" after we changed the direcoty(the whole project includes quartus projcet and <software> subDir contain nios2 IDE project, dosen't change the struct of the directory). - Altera_Forum
Honored Contributor
I just ran into this yesterday. Turns out this issue is in the Nios II errata (always a good idea to read those).
- Altera_Forum
Honored Contributor
<div class='quotetop'>QUOTE </div>
--- Quote Start --- I just ran into this yesterday. Turns out this issue is in the Nios II errata (always a good idea to read those).[/b] --- Quote End --- Can you send me about the errata PDF? We just woder how to do when the project change directory or copy to anther PC ? - Altera_Forum
Honored Contributor
mtn,
Just search for "Nios II Errata" on the main Altera page: http://www.altera.com/support/ip/processor...osii-50-er.html (http://www.altera.com/support/ip/processors/nios2/ips-niosii-50-er.html) Then, from the errata, you'll see: <div class='quotetop'>QUOTE </div> --- Quote Start --- Build errors after changing component names in SOPC Builder If you rename components in the SOPC Builder system and then regenerate the SOPC Builder system, Nios II IDE system library projects based on that system will have build errors. Workaround: After regenerating the SOPC Builder system, create a new system library project for the SOPC Builder system. Alternately, you can delete the system library project from the workspace without deleting the contents from the file system, and then re-import the project, selecting the appropriate SOPC Builder system.[/b] --- Quote End --- - slacker