Forum Discussion

Junyong's avatar
Junyong
Icon for Occasional Contributor rankOccasional Contributor
2 years ago
Solved

Error with "quartus_sh" command after interface planner

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:

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

Best Regards,

Junyong

6 Replies

  • SyafieqS's avatar
    SyafieqS
    Icon for Super Contributor rankSuper Contributor

    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


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

      Hi SyafieqS,

      Thank you for your reply.

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

      Thank you for your help.

      Best Regards,

      Junyong

  • FvM's avatar
    FvM
    Icon for Super Contributor rankSuper Contributor

    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.

  • SyafieqS's avatar
    SyafieqS
    Icon for Super Contributor rankSuper Contributor

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


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

      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

  • SyafieqS's avatar
    SyafieqS
    Icon for Super Contributor rankSuper Contributor

    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