- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi...
I'm trying to merge Nios/quartus hardware with software. File structure is: C: Project_File Software (this contains all the C code, etc) Quartus_stuff (This contains all the Quartus files, including the .PTF file) I enter the IDE and: File> Import> Existing Altera Nios II project into workspace> browse to Software folder File >new >other > (select Altera Nios II system library) and 1) name it "my_syslib" 2) location is C:/Project_File/Quartus_stuff 3)SOPC Builder system is the .PTF file Then: Set properties of project so project references and Associated System library point to the library created in previous step Then: Project > Rebuild Project. Things go along well, then I get a ton of error messages First is: Can't open nios_Macros.s for reading: no such file or directory THen a ton of "Error: unrecognized instruction GEQU Evidently, my path to My_syslib/cpu_0_sdk/inc/nios_macros.s is invalid or not recognized. I can see this file in the navigator. WHAT AM I DOING WRONG?????? TOTALLY GRATEFUL FOR ANY HELP!!! Thanks!Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mixing Legacy SDK based software with the HAL-based flow is not supported. It appears that this is what you're trying to do.
Go through both the HW and SW tutorials to see how you should be doing things. - slacker- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You've given me a clue here....
At one point I used legacy components and therefore checked the "legacy SDK support" box on the "More "CPU_0 settings" panel. I no longer use the legacy components, but it seems the files don't get erased. Should I simply delete the cpu_0_SDK folder from the library? (I'll give that a try pending a reply) Thanks!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, that appears to be it....normal build now
Thanks for pointing me in the right direction
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page