I imported a project from a previous workspace in NIOS II EDS. Now, when I see the project, it is complaining that .sopcinfo file is missing.
The question is: Where I can give it the reference of the previously generated .sopcinfo file? I think I need to restablish this projects link to previously generated .sopcinfo file, but how?
This will solve my problem. But I have large number of files in the project, and I don't know the hierarchy of the files to be added. So, this procedure works, but what if we want to make existing projects work? That was the issue.
We may face such issue when we try import the project in different work-space than quartus project directory.
To avoid warning or error ".sopcinfo file is missing"
- Recreate the eclipse project with sopcinfo file or
- Import the eclipse project and edit the make file (variable name SOPC_FILE=<DIRECTORY>) and settings.bsp file (Tag name SocpDesignFile=<DIRECTORY>) such that we pointing correct directory of socpinfo file.
Which compile/build the project without error/warning.
For existing projects make sure make & settings.bsp files point to correct sopcinfo file.
import the project and build it.
Steps to import the eclipse project
Import-> Nios II Software Build Tools Project ---> Import Nios II Software Build Tools Project
Start NIOS and select work-space to 'software' folder
Import project code. Select folder for this, and make sure name of project matches folder.
Import BSP files. Select folder for this and again make sure name matches folder.
Zip the software folder and import.
Import->general->existing project into work-space->next->select archive file->finish.