ovm_message_defines.svh

Go to the documentation of this file.
00001 //----------------------------------------------------------------------
00002 //   Copyright 2007-2008 Mentor Graphics Corporation
00003 //   Copyright 2007-2008 Cadence Design Systems, Inc.
00004 //   All Rights Reserved Worldwide
00005 //
00006 //   Licensed under the Apache License, Version 2.0 (the
00007 //   "License"); you may not use this file except in
00008 //   compliance with the License.  You may obtain a copy of
00009 //   the License at
00010 //
00011 //       http://www.apache.org/licenses/LICENSE-2.0
00012 //
00013 //   Unless required by applicable law or agreed to in
00014 //   writing, software distributed under the License is
00015 //   distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
00016 //   CONDITIONS OF ANY KIND, either express or implied.  See
00017 //   the License for the specific language governing
00018 //   permissions and limitations under the License.
00019 //----------------------------------------------------------------------
00020 
00021 `ifndef OVM_MESSAGE_DEFINES_SVH
00022 `define OVM_MESSAGE_DEFINES_SVH
00023 
00024 `ifndef OVM_LINE_WIDTH
00025   `define OVM_LINE_WIDTH 120
00026 `endif 
00027 
00028 `ifndef OVM_NUM_LINES
00029   `define OVM_NUM_LINES 120
00030 `endif
00031 
00032 // When both simulators support them, the `__FILE and `__LINE macros
00033 // will replace all occurrences of `ovm_file and `ovm_line.
00034 
00035 `ifndef INCA
00036   `define SV_FILE_LINE
00037 `endif
00038  
00039 `ifndef SV_FILE_LINE
00040 `define ovm_file "<UNKNOWN>"
00041 `define ovm_line 0
00042 `else
00043 `define ovm_file `__FILE__
00044 `define ovm_line `__LINE__
00045 `endif
00046 
00047 `define OVM_REPORT_INFO(ID,MSG) \
00048   ovm_report_info(ID,MSG,OVM_MEDIUM,`ovm_file,`ovm_line)
00049 
00050 `define OVM_REPORT_WARNING(ID,MSG) \
00051   ovm_report_warning(ID,MSG,OVM_MEDIUM,`ovm_file,`ovm_line)
00052 
00053 `define OVM_REPORT_ERROR(ID,MSG) \
00054   ovm_report_error(ID,MSG,OVM_LOW,`ovm_file,`ovm_line)
00055 
00056 `define OVM_REPORT_FATAL(ID,MSG) \
00057   ovm_report_fatal(ID,MSG,OVM_NONE,`ovm_file,`ovm_line)
00058 
00059 
00060 `endif // OVM_MESSAGE_DEFINES_SVH

Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 2.0.1
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.5.5
Wed Jan 7 19:27:17 2009
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV