Forum Discussion

DWhit11's avatar
DWhit11
Icon for New Contributor rankNew Contributor
5 years ago

sopc-create-header-files appears to have broken on SoC EDS 19.1 under Windows

Have used this happily previously on same .sopc system but now in SoC EDS command shell in 19.1 it fails. Have installed 64 bit Cygwin as per install instructions and WSL with Ubuntu 18.04.

Error:

swinfo2header: Failed to load *.swinfo file "/tmp/sopc-create-header-files.1468.tmp.swinfo"

sopc-create-header-files: swinfo2header --swinfo /tmp/sopc-create-header-files.1468.tmp.swinfo --sopc /cygdrive/c/Projects/SprintNavMini/FPGA/MiniSyrinxHPS.sopcinfo --single hps_0.h --module hps_0 failed

Any suggestions / things to try?

Kind regards,

Dave

4 Replies

  • NBRUN4's avatar
    NBRUN4
    Icon for New Contributor rankNew Contributor

    Hello DWhit11

    I had exactly the same problem as you and i solved it.

    You may have several versions of Quartus installed on your OS. Remove those you don't need.

    Then, add complete path in your script for swinfo2header and all functions (such as sopcinfo2swinfo).

    Best Regards,

    • Patrick77's avatar
      Patrick77
      Icon for New Contributor rankNew Contributor

      Hi NBRUN4,

      May I ask how did you exactly "add complete path in your script for swinfo2header and all functions" ?

      I met the same problem and found your solution, but I don't quite understand it.

      • Saulius's avatar
        Saulius
        Icon for New Contributor rankNew Contributor

        Hi Patrick77

        Permanent solution:

        Go to advanced system settings:

        Click on Environment Variables...:

        And in "System variables" double click "Path" variable:

        And replace the version number in the quortus line (don't forget to change the directory name if youre using a standard quortus version or pro version. Mine is lite):



        Another solution:
        You need to edit file:
        C:\intelFPGA_lite\16.1\quartus\sopc_builder\bin\sopc-create-header-files
        You need to edit lines with swinfo2header and sopcinfo2swinfo.
        Add:
        /cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin/
        before swinfo2header and sopcinfo2swinfo.
        It should be something like this:
        /cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin/swinfo2header

        /cygdrive/c/intelFPGA_lite/16.1/quartus/sopc_builder/bin/sopcinfo2swinfo

        Good luck