ovm_macros.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_MACROS_SVH
00022 `define OVM_MACROS_SVH
00023 
00024 // Questa requires the qualifiers on the extern signature; IUS requires the
00025 // qualifier to not be on the extern signature.
00026 `ifdef INCA
00027   `define _protected /*for protected ctor. IUS doesn't support. */
00028   `define const      /*for const strings in certain contexts. */
00029   `define ovm_clear_queue(Q) \
00030     Q.delete();  //SV 2008
00031 `else
00032   `define _protected protected
00033   `define const const
00034   `define ovm_clear_queue(Q) \
00035     Q = '{};  //SV 2005 and 2008
00036 `endif
00037 
00038 `include "macros/ovm_message_defines.svh"
00039 `include "macros/ovm_phase_defines.svh"
00040 `include "macros/ovm_object_defines.svh"
00041 `include "macros/ovm_printer_defines.svh"
00042 `include "macros/tlm_defines.svh"
00043 `include "macros/ovm_sequence_defines.svh"
00044 
00045 `include "compatibility/urm_macro_compatibility.svh"
00046 `include "compatibility/urm_message_defines.svh"
00047 
00048 `include "macros/ovm_layered_stimulus_defines.svh"
00049 
00050 `endif

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