Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Scripting and Options for quartus_sh

Hi Everybody,

I started using scripts for compiling and have the following problem:

Using quartus_sh:

How can I filter the information shown in MS-DOS? I only want to see Warnings, Errors and Critical Warnings. Maybe "Started Fitter" or such info would also be nice.

quartus_sh --help was not helpful :-(

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    as mentioned above, you can use the Nios II Command Shell on Windows, which is actually a cygwin terminal. cygwin includes grep

    --- Quote End ---

    Thanks for you reply!

    Now, i can extract the information from the compilation reports thru using grep or using tcl codes.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thank you very much for your posts! Actually I forgot to check the posts after getting the first one.

    The idea with the Nios Shell was good. But unfortunately my script is in batch and I don't want to change to linux scripting.

    I will try to use the code from Jerry
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Thank you very much for your posts! Actually I forgot to check the posts after getting the first one.

    The idea with the Nios Shell was good. But unfortunately my script is in batch and I don't want to change to linux scripting.

    I will try to use the code from Jerry

    --- Quote End ---

    Hi vhdl_world,

    When you use the code, please note which only extract map's warning informations. Becasue different warnings are strored in different rpt files, so if you want to extract full compilation's warning info you should open all different rpt files and extract what you want from them.