get_report_panel_row_index (::quartus::report)
The following table displays information for the get_report_panel_row_index Tcl command:
Tcl Package and Version |
Belongs to ::quartus::report 1.0 |
|||
Syntax | get_report_panel_row_index [-h | -help] [-long_help] [-id <table_id> ] [-name <table_name> ] <row_name> | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-id <table_id> | Id of panel from which to get row index | |||
-name <table_name> | Name of panel from which to get row index | |||
<row_name> | Row name | |||
Description |
Gets the row index of the specified panel row name. Row name refers to the first element content of the specified row. The row index is a non-negative integer for an existing row. Row index is -1 if the row name is not found in the panel. Using the row index and panel id provides faster data access than using row name and panel name. Row indices and panel ids that you have cached may become outdated or invalid if the report is unloaded or reloaded. This error occurs after compilation or with calls to the "project_close", "unload_report", and "load_report" commands. Row and panel names support wildcards. The table of contents portion of the Compilation Report window shows short panel names for better readability. However, the panel name used by this command is the full panel name as shown in the right-hand side frame of the Compilation Report window or the .rpt file of the corresponding command-line executable. For example, the table of contents shows the path "Analysis & Synthesis||Summary". However, the corresponding full path used by this Tcl command is "Analysis & Synthesis||Analysis & Synthesis Summary". |
|||
Example Usage |
load_package report project_open chiptrip load_report # Set panel name and id set panel {*Input Pins} set id [get_report_panel_id $panel] # Set row name and index set rname {[Cc]lk1} set rindex [get_report_panel_row_index -id $id $rname] # Get data out of the specified panel set pc_str [get_report_panel_data -id $id -row 0 -col 1] set pin_cnt [get_report_panel_data -id $id -row $rindex -col 1] set iob_str [get_report_panel_data -id $id -row 0 -col 2] set io_bank [get_report_panel_data -id $id -row $rindex -col 2] # Output results puts "$pc_str: $pin_cnt" puts "$iob_str: $io_bank" unload_report project_close |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful |