Quartus® II Tcl 例: カスタム・レポートパネル

Quartus® II ソフトウェアのバージョン 4.1 以降、Quartus® II GUI のコンパイルレポートに独自のカスタム・レポートパネルを作成できます。バージョン 4.2 以降、reporting_timing コマンドからレポートパネルに向けた出力ができます。バージョン 5.0 以降、カスタム・レポートパネル用のカスタム・フォルダーを作成できます。5.0 より前のバージョンでは、カスタム・レポートパネルを既存のレポートフォルダーにのみ作成できます。

レポートパネルに詳しくない場合、レポートパネルの概要ページを参照してください。

カスタム・レポートパネルの作業

以下の汎用ステップに従ってカスタム・レポートパネルを作成します。

既存のレポートパネルがない場合、レポートパネルを作成します。既存のものがある場合、そのパネルにデータを追加できます。データを変更したい場合、パネルを削除して行を再度追加する必要があります。

カスタム・パネル内にデータ行を挿入します。行を挿入すると、自動的に順番に挿入されます。順番を無視して行を挿入することはできません。
レポート・データベースへの変更を保存します。

以下のコードは、カスタム・レポートパネルを作成する基本的な例を提供しています。Quartus® II ソフトウェアのバージョン 4.1 以降で機能します。

load_package report project_open chiptrip load_report # Set panel name and id set panel "Fitter||My Table" set id    [get_report_panel_id $panel] # Check if specified panel exists. Delete it if yes. if {$id != -1} {     delete_report_panel -id $id } # Create the specified panel and get its id set id    [create_report_panel -table $panel] # Add Timing Analyzer Summary to it add_row_to_table -id $id {{Name} {Value}} add_row_to_table -id $id {{Number of Registers} {100}} # Save the changes to the report database save_report_database unload_report project_close

カスタム・レポートパネルを作成するスクリプト例については、非デフォルトのグローバル割り当てレポートページをご覧ください。