Forum Discussion

TRoa's avatar
TRoa
Icon for Occasional Contributor rankOccasional Contributor
7 years ago

.sopcinfo file update in imported projects

Hi,

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?

Thanks

TRoa

4 Replies

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    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"

    1. Recreate the eclipse project with sopcinfo file or
    2. 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.

    or

    Zip the software folder and import.

    Import->general->existing project into work-space->next->select archive file->finish.

    Regards

    Anand

  • AnandRaj_S_Intel's avatar
    AnandRaj_S_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Can you try by edit settings.bsp file and to point to the .sopcinfo location or create new eclipse project.

    Regards

    Anand

  • TRoa's avatar
    TRoa
    Icon for Occasional Contributor rankOccasional Contributor

    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.