FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6025 Discussions

Error with "quartus_sh" command after interface planner

Junyong
Beginner
880 Views

Hi all,

 

After interface planner, I extracted the tcl file from the tool.

 

When I put the command into Tcl console in my project, I encountered the error message below:

Junyong_1-1695583160723.png

 

Wat command I tried input in the Tcl console was as follows:

Junyong_0-1695583141674.png

 

Best Regards,

 

Junyong

Labels (1)
0 Kudos
1 Solution
SyafieqS
Employee
855 Views

Have you set your PATH environment variable to the bin directory of your quartus? Try this and then re-run 


 

Considering you're using Linux: 

export PATH=$PATH:<installed_quartus_directory>/<version>/quartus/bin


On Window


1) Open up your command prompt (cmd) 

2) Type set PATH=%PATH%;C:\altera\12.1\quartus\bin 

 

Change the back party of the PATH after ';' according to your quartus installation directory 

 

Then try to run quartus_sh again


Similar issue found out that might be helping.

https://community.intel.com/t5/Intel-Quartus-Prime-Software/cannot-execute-quartus-sh-in-command-line/td-p/153115


View solution in original post

0 Kudos
6 Replies
SyafieqS
Employee
856 Views

Have you set your PATH environment variable to the bin directory of your quartus? Try this and then re-run 


 

Considering you're using Linux: 

export PATH=$PATH:<installed_quartus_directory>/<version>/quartus/bin


On Window


1) Open up your command prompt (cmd) 

2) Type set PATH=%PATH%;C:\altera\12.1\quartus\bin 

 

Change the back party of the PATH after ';' according to your quartus installation directory 

 

Then try to run quartus_sh again


Similar issue found out that might be helping.

https://community.intel.com/t5/Intel-Quartus-Prime-Software/cannot-execute-quartus-sh-in-command-line/td-p/153115


0 Kudos
Junyong
Beginner
851 Views

Hi SyafieqS,

 

Thank you for your reply.

 

I could run the generated tcl file with the following add-on window.

 

Junyong_0-1695697622725.png

 

Thank you for your help.

 

Best Regards,

 

Junyong

 

0 Kudos
FvM
Valued Contributor III
831 Views

Hi,
you are trying to run quartus_sh in Quartus tcl console, but it should be run in Windows command window. If you enter a command in tcl console, you are already inside Quartus tcl shell.

0 Kudos
SyafieqS
Employee
728 Views

May I know if there is any update from previous reply?


0 Kudos
Junyong
Beginner
706 Views

Thank you for your reply, SyafieqS.

 

The issue was resolved as I replied to your previous reply.

 

Thank you for your help, again!!

 

Best Regards,

 

Junyong

0 Kudos
SyafieqS
Employee
666 Views

I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Please login to https://supporttickets.intel.com/, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.


p/s: If any answer from community or Intel support are helpful, please feel free to mark as solution, give Kudos and rate 5/5 survey


0 Kudos
Reply