Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / verif / env / fnx / clib / report / report.tab
// ========== Copyright Header Begin ==========================================
//
// OpenSPARC T2 Processor File: report.tab
// Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved
// 4150 Network Circle, Santa Clara, California 95054, U.S.A.
//
// * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; version 2 of the License.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
// For the avoidance of doubt, and except that if any non-GPL license
// choice is available it will apply instead, Sun elects to use only
// the General Public License version 2 (GPLv2) at this time for any
// software where a choice of GPL license versions is made
// available with the language indicating that GPLv2 or any later version
// may be used, or where a choice of which version of the GPL is applied is
// otherwise unspecified.
//
// Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
// CA 95054 USA or visit www.sun.com if you need additional information or
// have any questions.
//
// ========== Copyright Header End ============================================
// Report Utility PLI Table
//
// This table lists the PLI calls which connect a Verilog simulation
// to the Report C Libraries.
// pli call name check routine w/ argument C routine size for functions
// ------------- ------------------------- --------- ------------------
$report check=report_verilog_check call=ReportClass_report
$report_set_global_print_threshold call=ReportClass_set_global_print_threshold
$report_get_global_print_threshold check=check_number_of_args data=0 call=ReportClass_get_global_print_threshold size=32
$report_set_max_error_count check=check_number_of_args data=1 call=ReportClass_set_max_error_count
$report_get_max_error_count check=check_number_of_args data=0 call=ReportClass_get_max_error_count size=32
$report_inc_global_error_count check=check_number_of_args data=0 call=ReportClass_inc_global_error_count
$report_get_global_error_count check=check_number_of_args data=0 call=ReportClass_get_global_error_count size=32
$report_inc_global_warning_count check=check_number_of_args data=0 call=ReportClass_inc_global_warning_count
$report_get_global_warning_count check=check_number_of_args data=0 call=ReportClass_get_global_warning_count size=32
$report_set_short_pathnames check=check_number_of_args data=1 call=ReportClass_set_short_pathnames
$report_get_short_pathnames check=check_number_of_args data=0 call=ReportClass_get_short_pathnames size=32
$report_set_exit_on_error check=check_number_of_args data=1 call=report_set_exit_on_error
$report_get_exit_on_error check=check_number_of_args data=0 call=report_get_exit_on_error size=32
$report_set_path_prefix check=check_number_of_args data=1 call=ReportClass_set_path_prefix
$report_disable_fatal_errors check=check_number_of_args data=1 call=ReportClass_disable_fatal_errors
$report_get_num_remaining_nonfatal_cycles check=check_number_of_args data=0 call=ReportClass_get_num_remaining_nonfatal_cycles size=32
$report_set_show_simulation_time check=check_number_of_args data=1 call=ReportClass_set_show_simulation_time
$report_get_show_simulation_time check=check_number_of_args data=0 call=ReportClass_get_show_simulation_time size=32
$report_inc_cycle_count check=check_number_of_args data=0 call=report_inc_cycle_count
// These functions require the 'acc' directive so that they can use the 'tf_imipname()' function.
$report_set_print_level acc+=r:%TASK+ check=check_number_of_args data=3 call=ReportClass_set_print_level
$report_set_table_mode acc+=r:%TASK+ check=check_number_of_args data=3 call=ReportClass_set_table_mode
$report_set_error_level acc+=r:%TASK+ check=check_number_of_args data=3 call=ReportClass_set_error_level
$report_print_cycles_per_second check=set_start_timestamp call=report_print_cycles_per_second
$report_set_default_print_level check=check_number_of_args data=2 call=ReportClass_set_default_print_level
$report_set_default_error_level check=check_number_of_args data=2 call=ReportClass_set_default_error_level
$report_set_default_table_mode check=check_number_of_args data=2 call=ReportClass_set_default_table_mode