Forum Discussion

NikoR's avatar
NikoR
Icon for Occasional Contributor rankOccasional Contributor
7 years ago
Solved

What is the script equivalent of Quartus Prime GUI's "Export Report as HTML"?

In Quartus you can export sections from the Report file as HTML.

How can you do the same when running Quartus from a script?

  • Thank you for your suggestions!

    To summarize:

    • The TCL command "write_report_panel" is limited to only tabular subsections of the report file. (Not what I wanted in this case...)
    • Adding GENERATE_HTML_REPORT_FILES = 1 to quartus2.ini creates all the nice HTML report exactly as from the GUI. (Selecting Tools > Options > tick 'Automatically generate HTML-Format Report Files (.htm) after design processing' updates the quartus2.ini file). This is a global setting that applies to all your projects.

6 Replies

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

    I forget exactly where it is, but there is a setting in the Options dialog from the Tools menu to always create an html version of the Compilation report whenever you compile the project. It gets placed, by default, in the output_files folder. As far as scripting this is concerned, check the Quartus Compilation user guide. It must have the appropriate Tcl and command line option in there.

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    As sstrell said, you may also select Tools > Options > tick 'Automatically generate HTML-Format Report Files (.htm) after design processing

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    The compilation reports are automatically generated in <Project directory>/output_files after the compilation. The summary of fitter is project_name.fit.summary

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

      Thank you.

      But how do you get the HTML version?

      I want the HTML version because it is easier to read for non-fpga-savvy people.

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

    Thank you for your suggestions!

    To summarize:

    • The TCL command "write_report_panel" is limited to only tabular subsections of the report file. (Not what I wanted in this case...)
    • Adding GENERATE_HTML_REPORT_FILES = 1 to quartus2.ini creates all the nice HTML report exactly as from the GUI. (Selecting Tools > Options > tick 'Automatically generate HTML-Format Report Files (.htm) after design processing' updates the quartus2.ini file). This is a global setting that applies to all your projects.