| 1 | // ========== Copyright Header Begin ========================================== |
| 2 | // |
| 3 | // OpenSPARC T2 Processor File: report.tab |
| 4 | // Copyright (C) 1995-2007 Sun Microsystems, Inc. All Rights Reserved |
| 5 | // 4150 Network Circle, Santa Clara, California 95054, U.S.A. |
| 6 | // |
| 7 | // * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
| 8 | // |
| 9 | // This program is free software; you can redistribute it and/or modify |
| 10 | // it under the terms of the GNU General Public License as published by |
| 11 | // the Free Software Foundation; version 2 of the License. |
| 12 | // |
| 13 | // This program is distributed in the hope that it will be useful, |
| 14 | // but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | // GNU General Public License for more details. |
| 17 | // |
| 18 | // You should have received a copy of the GNU General Public License |
| 19 | // along with this program; if not, write to the Free Software |
| 20 | // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 21 | // |
| 22 | // For the avoidance of doubt, and except that if any non-GPL license |
| 23 | // choice is available it will apply instead, Sun elects to use only |
| 24 | // the General Public License version 2 (GPLv2) at this time for any |
| 25 | // software where a choice of GPL license versions is made |
| 26 | // available with the language indicating that GPLv2 or any later version |
| 27 | // may be used, or where a choice of which version of the GPL is applied is |
| 28 | // otherwise unspecified. |
| 29 | // |
| 30 | // Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, |
| 31 | // CA 95054 USA or visit www.sun.com if you need additional information or |
| 32 | // have any questions. |
| 33 | // |
| 34 | // ========== Copyright Header End ============================================ |
| 35 | // Report Utility PLI Table |
| 36 | // |
| 37 | // This table lists the PLI calls which connect a Verilog simulation |
| 38 | // to the Report C Libraries. |
| 39 | |
| 40 | // pli call name check routine w/ argument C routine size for functions |
| 41 | // ------------- ------------------------- --------- ------------------ |
| 42 | $report check=report_verilog_check call=ReportClass_report |
| 43 | |
| 44 | $report_set_global_print_threshold call=ReportClass_set_global_print_threshold |
| 45 | $report_get_global_print_threshold check=check_number_of_args data=0 call=ReportClass_get_global_print_threshold size=32 |
| 46 | |
| 47 | $report_set_max_error_count check=check_number_of_args data=1 call=ReportClass_set_max_error_count |
| 48 | $report_get_max_error_count check=check_number_of_args data=0 call=ReportClass_get_max_error_count size=32 |
| 49 | |
| 50 | $report_inc_global_error_count check=check_number_of_args data=0 call=ReportClass_inc_global_error_count |
| 51 | $report_get_global_error_count check=check_number_of_args data=0 call=ReportClass_get_global_error_count size=32 |
| 52 | |
| 53 | $report_inc_global_warning_count check=check_number_of_args data=0 call=ReportClass_inc_global_warning_count |
| 54 | $report_get_global_warning_count check=check_number_of_args data=0 call=ReportClass_get_global_warning_count size=32 |
| 55 | |
| 56 | $report_set_short_pathnames check=check_number_of_args data=1 call=ReportClass_set_short_pathnames |
| 57 | $report_get_short_pathnames check=check_number_of_args data=0 call=ReportClass_get_short_pathnames size=32 |
| 58 | |
| 59 | $report_set_exit_on_error check=check_number_of_args data=1 call=report_set_exit_on_error |
| 60 | $report_get_exit_on_error check=check_number_of_args data=0 call=report_get_exit_on_error size=32 |
| 61 | |
| 62 | $report_set_path_prefix check=check_number_of_args data=1 call=ReportClass_set_path_prefix |
| 63 | |
| 64 | |
| 65 | $report_disable_fatal_errors check=check_number_of_args data=1 call=ReportClass_disable_fatal_errors |
| 66 | $report_get_num_remaining_nonfatal_cycles check=check_number_of_args data=0 call=ReportClass_get_num_remaining_nonfatal_cycles size=32 |
| 67 | |
| 68 | $report_set_show_simulation_time check=check_number_of_args data=1 call=ReportClass_set_show_simulation_time |
| 69 | $report_get_show_simulation_time check=check_number_of_args data=0 call=ReportClass_get_show_simulation_time size=32 |
| 70 | |
| 71 | $report_inc_cycle_count check=check_number_of_args data=0 call=report_inc_cycle_count |
| 72 | |
| 73 | // These functions require the 'acc' directive so that they can use the 'tf_imipname()' function. |
| 74 | $report_set_print_level acc+=r:%TASK+ check=check_number_of_args data=3 call=ReportClass_set_print_level |
| 75 | |
| 76 | $report_set_table_mode acc+=r:%TASK+ check=check_number_of_args data=3 call=ReportClass_set_table_mode |
| 77 | |
| 78 | $report_set_error_level acc+=r:%TASK+ check=check_number_of_args data=3 call=ReportClass_set_error_level |
| 79 | |
| 80 | $report_print_cycles_per_second check=set_start_timestamp call=report_print_cycles_per_second |
| 81 | |
| 82 | $report_set_default_print_level check=check_number_of_args data=2 call=ReportClass_set_default_print_level |
| 83 | $report_set_default_error_level check=check_number_of_args data=2 call=ReportClass_set_default_error_level |
| 84 | $report_set_default_table_mode check=check_number_of_args data=2 call=ReportClass_set_default_table_mode |
| 85 | |