Results 1 to 6 of 6

Thread: sopc-create-header-files : command not found ?

  1. #1
    Join Date
    Nov 2016
    Posts
    2
    Rep Power
    1

    Default sopc-create-header-files : command not found ?

    hi,

    iam an beginner in fpga soc....

    i try the tutorial "my_first_hps_fpga.pdf" ....

    so i have an problem to generate header files about embedded command shell...
    if i want to execute the bash-file ./generate.sh...

    generate.sh:
    #!/bin/sh
    sopc-create-header-files \
    "./hps_fpga.sopcinfo" \
    --single hps_0.h \
    --module hps_0

    i get this message..
    ./generate.sh: Line 3: sopc-create-header-files: Commando not found...



    i hope somebody can help ... thx..
    Attached Images Attached Images
    Last edited by etech91; November 24th, 2016 at 11:38 PM.

  2. #2
    Join Date
    Dec 2016
    Posts
    1
    Rep Power
    1

    Default Re: sopc-create-header-files : command not found ?

    I have the same error.. I'm trying to create the "sopc-create-header-files" with the sopc builder but my efforts have been unsuccessfully. If you have another clue how we can fix it, please tell me... thx..

  3. #3
    Join Date
    Aug 2004
    Location
    Texas Y'all
    Posts
    2,352
    Rep Power
    1

    Default Re: sopc-create-header-files : command not found ?

    Using 16.1 on Windows 10 I was able to run that command using both the SoC and Nios II command prompts. That command is part of Quartus install and you can find the path here: <Quartus install directory>/quartus/sopc_builder/bin/sopc-create-header-files

  4. #4
    Join Date
    Oct 2017
    Posts
    3
    Rep Power
    1

    Default Re: sopc-create-header-files : command not found ?

    If anyone else is getting this error, I have figured out the solution.
    You have to set the PATH variable in the SoC EDS command shell

    The bin folder is located in the path: intelFPGA_lite\16.1\quartus\sopc_builder\bin
    you have to add this folder to the PATH environment in the SoC shell

    For example:
    PATH=/cygdrive/C/intelFPGA_lite/16.1/quartus/sopc_builder/bin:$PATH

    You have to change the path to the correct one in your PC
    Last edited by Shahad Alrawi; November 18th, 2017 at 01:31 PM.

  5. #5
    Join Date
    Oct 2017
    Posts
    2
    Rep Power
    1

    Default Re: sopc-create-header-files : command not found ?

    Quote Originally Posted by Shahad Alrawi View Post
    If anyone else is getting this error, I have figured out the solution.
    You have to set the PATH variable in the SoC EDS command shell

    The bin folder is located in the path: intelFPGA_lite\16.1\quartus\sopc_builder\bin
    you have to add this folder to the PATH environment in the SoC shell

    For example:
    PATH=/cygdrive/intelFPGA_lite/16.1/quartus/sopc_builder/bin:$PATH

    You have to change the path to the correct one in your PC
    Hi, I have located the bin folder in my laptop. However, after I add this folder to the PATH environment, it still does not work. The same error occurs. I am using quartus 15.0 web version and my SoC EDS is 17.0 version. Not sure whether different version of quartus and SoC EDS is causing this problem...

  6. #6
    Join Date
    Nov 2017
    Posts
    2
    Rep Power
    1

    Default Re: sopc-create-header-files : command not found ?

    For linux :

    lauch the Altera embedded script shell
    type : $echo $PATH to display the PATH environment variable.
    To add a path to this variable, use the command :
    export PATH=$PATH:~/intelFPGA_lite/17.1/quartus/sopc_builder/bin


    You need to have Quartus installed in addition of the EDS suite.
    Last edited by Neudorf; Yesterday at 05:36 AM.

Similar Threads

  1. Replies: 6
    Last Post: January 5th, 2016, 09:20 PM
  2. Replies: 1
    Last Post: February 29th, 2012, 08:23 AM
  3. u-boot "sopc-create-config-files" command error!
    By arens in forum Linux Forum
    Replies: 4
    Last Post: November 20th, 2011, 08:02 PM
  4. sopc-create-header-files generates wrong header file
    By goytin in forum Quartus II and EDA Tools Discussion
    Replies: 0
    Last Post: May 28th, 2011, 04:23 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •