Forum Discussion

s002wjh's avatar
s002wjh
Icon for New Contributor rankNew Contributor
5 years ago
Solved

tcl error

when running command

quartus_sh -t my.tcl under cento terminal

i receive following error

ERROR: Quartus II Tcl command "execute_flow" belongs to the "::quartus::flow" package which is currently not loaded. Please type "load_package flow" to load the

pretty sure its this code cause the error. the tcl work fine under quartus tcl console

"execute_flow -compile"

  • The error message explains that you need to add the load_package flow in your tcl script.
    For example:

    ## Open the project, run a compilation, and
    ## export the project database to
    ## version-compatible database files
    load_package database_manager
    load_package flow
    set project chiptrip
    project_new $project -overwrite
    execute_flow -compile
    export_database backup
    project_close $project

    Reference: Quartus II Scripting Reference Manual

    Best Regards,
    Richard

    p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.

2 Replies

  • The error message explains that you need to add the load_package flow in your tcl script.
    For example:

    ## Open the project, run a compilation, and
    ## export the project database to
    ## version-compatible database files
    load_package database_manager
    load_package flow
    set project chiptrip
    project_new $project -overwrite
    execute_flow -compile
    export_database backup
    project_close $project

    Reference: Quartus II Scripting Reference Manual

    Best Regards,
    Richard

    p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.

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

      I have yet to receive any response from you to the previous question/reply/answer that I have provided but I believed that I have answered your question.
      With that, I will now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.

      Best Regards,
      Richard Tan

      p/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.