Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
3,273 Views

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...:oops: 

 

http://www.alteraforum.com/forum/attachment.php?attachmentid=12978&stc=1  

 

i hope somebody can help ... thx..
0 Kudos
5 Replies
Highlighted
Valued Contributor III
201 Views

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..

0 Kudos
Highlighted
Valued Contributor III
201 Views

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

0 Kudos
Highlighted
Valued Contributor III
201 Views

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 ;)
Highlighted
Valued Contributor III
201 Views

 

--- Quote Start ---  

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 ;) 

--- Quote End ---  

 

 

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...
0 Kudos
Highlighted
Valued Contributor III
201 Views

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.
0 Kudos