Forum Discussion

NTars's avatar
NTars
Icon for New Contributor rankNew Contributor
6 years ago
Solved

How we can run batch file after compilation any quartus project in quartus automatically?

I have one batch file that extract all the warnings lines from report file. After compilation process, we have all report files in our quartus directory. So, i want to run this batch file automatically after compilation process in quartus prime software.

Has anyone any idea on this?

  • Hi all,

    I got one solution on this instead of using batch file.

    I have designed one TCL script file which is executed after compilation has been done.

    These are the steps to execute any TCL script file after Quartus compilation.

    Steps :

    1. Add your .tcl file to your project directory which you want to execute.
    2. Add following command to .qsf file which can run tcl file after compilation process.
    • set_global_assignment -name POST_FLOW_SCRIPT_FILE "quartus_sh:<tcl_file_name>.tcl"

    3. Compile your project.

3 Replies

  • NTars's avatar
    NTars
    Icon for New Contributor rankNew Contributor

    Hi all,

    I got one solution on this instead of using batch file.

    I have designed one TCL script file which is executed after compilation has been done.

    These are the steps to execute any TCL script file after Quartus compilation.

    Steps :

    1. Add your .tcl file to your project directory which you want to execute.
    2. Add following command to .qsf file which can run tcl file after compilation process.
    • set_global_assignment -name POST_FLOW_SCRIPT_FILE "quartus_sh:<tcl_file_name>.tcl"

    3. Compile your project.

  • Hi, apologize for the delay. Would like to know whether you are able to run the batch file after compilation? Do you need further help?

  • NTars's avatar
    NTars
    Icon for New Contributor rankNew Contributor

    No. Still not getting any solution on this.

    Do you have any solution?

    Thanks in advance.