00001 // $Id: a00304.html,v 1.1 2009/01/07 19:29:54 alex.marin Exp $ 00002 //---------------------------------------------------------------------- 00003 // Copyright 2007-2008 Mentor Graphics Corporation 00004 // Copyright 2007-2008 Cadence Design Systems, Inc. 00005 // All Rights Reserved Worldwide 00006 // 00007 // Licensed under the Apache License, Version 2.0 (the 00008 // "License"); you may not use this file except in 00009 // compliance with the License. You may obtain a copy of 00010 // the License at 00011 // 00012 // http://www.apache.org/licenses/LICENSE-2.0 00013 // 00014 // Unless required by applicable law or agreed to in 00015 // writing, software distributed under the License is 00016 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 00017 // CONDITIONS OF ANY KIND, either express or implied. See 00018 // the License for the specific language governing 00019 // permissions and limitations under the License. 00020 //---------------------------------------------------------------------- 00021 `ifndef BACKWARD_COMPAT_MACROS_SVH 00022 `define BACKWARD_COMPAT_MACROS_SVH 00023 00024 `define urm_object_utils(T) `ovm_object_utils(T) 00025 `define urm_object_utils_begin(T) `ovm_object_utils_begin(T) 00026 `define urm_object_utils_end `ovm_object_utils_end 00027 `define urm_field_utils(T) `ovm_field_utils(T) 00028 `define urm_field_utils_begin(T) `ovm_field_utils_begin(T) 00029 `define urm_field_utils_end `ovm_field_utils_end 00030 00031 `define urm_component_factory_create_func(T) \ 00032 function ovm_component create_component (string name, ovm_component parent); \ 00033 T tmp; \ 00034 urm_unit p; \ 00035 $cast(p, parent); \ 00036 tmp = new(.name(name), .parent(p)); \ 00037 return tmp; \ 00038 endfunction 00039 00040 `define urm_unit_wrapper_derived_class(T) \ 00041 class T``wrapper extends ovm_object_wrapper; \ 00042 virtual function string get_type_name (); \ 00043 return `"T`"; \ 00044 endfunction \ 00045 `urm_component_factory_create_func(T) \ 00046 endclass 00047 00048 `define urm_unit_utils_begin(T) \ 00049 `urm_unit_wrapper_derived_class(T) \ 00050 `ovm_component_registry_internal(T,T) \ 00051 `ovm_get_type_name_func(T) \ 00052 `ovm_field_utils_begin(T) 00053 00054 `define urm_unit_utils(T) \ 00055 `urm_unit_utils_begin(T) \ 00056 `urm_unit_utils_end 00057 00058 `define urm_unit_utils_end `ovm_component_utils_end 00059 `define urm_unit_base_utils(T) `urm_unit_utils(T) 00060 `define urm_unit_base_utils_begin(T) `urm_unit_utils_begin(T) 00061 `define urm_unit_base_utils_end `urm_unit_utils_end 00062 00063 `define urm_field_int(F, FL) `ovm_field_int(F, FL) 00064 `define urm_field_object(F, FL) `ovm_field_object(F, FL) 00065 `define urm_field_event(F, FL) `ovm_field_event(F, FL) 00066 `define urm_field_string(F, FL) `ovm_field_string(F, FL) 00067 `define urm_field_array_int(F, FL) `ovm_field_array_int(F, FL) 00068 `define urm_field_array_object(F, FL) `ovm_field_array_object(F, FL) 00069 `define urm_field_array_string(F, FL) `ovm_field_array_string(F, FL) 00070 `define urm_field_queue_int(F, FL) `ovm_field_queue_int(F, FL) 00071 `define urm_field_queue_object(F, FL) `ovm_field_queue_object(F, FL) 00072 `define urm_field_queue_string(F, FL) `ovm_field_queue_string(F, FL) 00073 `define urm_field_aa_int_string(F, FL) `ovm_field_aa_int_string(F, FL) 00074 `define urm_field_aa_object_string(F, FL) `ovm_field_aa_object_string(F, FL) 00075 `define urm_field_aa_string_string(F, FL) `ovm_field_aa_string_string(F, FL) 00076 `define urm_field_aa_object_int(F, FL) `ovm_field_aa_object_int(F, FL) 00077 `define urm_field_aa_int_int(F, FL) `ovm_field_aa_int_int(F, FL) 00078 `define urm_field_aa_int_int_unsigned(F, FL) `ovm_field_aa_int_int_unsigned(F, FL) 00079 `define urm_field_aa_int_integer(F, FL) `ovm_field_aa_int_integer(F, FL) 00080 `define urm_field_aa_int_integer_unsigned(F, FL) `ovm_field_aa_int_integer_unsigned(F, FL) 00081 `define urm_field_aa_int_byte(F, FL) `ovm_field_aa_int_byte(F, FL) 00082 `define urm_field_aa_int_byte_unsigned(F, FL) `ovm_field_aa_int_byte_unsigned(F, FL) 00083 `define urm_field_aa_int_shortint(F, FL) `ovm_field_aa_int_shortint(F, FL) 00084 `define urm_field_aa_int_shortint_unsigned(F, FL) `ovm_field_aa_int_shortint_unsigned(F, FL) 00085 `define urm_field_aa_int_longint(F, FL) `ovm_field_aa_int_longint(F, FL) 00086 `define urm_field_aa_int_longint_unsigned(F, FL) `ovm_field_aa_int_longint_unsigned(F, FL) 00087 `define urm_field_aa_int_key(F, FL) `ovm_field_aa_int_key(F, FL) 00088 00089 `define ovm_msg_detail(L) `urm_msg_detail(L) 00090 `define ovm_debug(M) `urm_debug(M) 00091 `define ovm_info(L) `urm_info(L) 00092 `define ovm_info0(D,M) `urm_info0(D,M) 00093 `define ovm_info1(L) `urm_info1(L) 00094 `define ovm_info2(L) `urm_info2(L) 00095 `define ovm_info3(L) `urm_info3(L) 00096 `define ovm_info4(L) `urm_info4(L) 00097 `define ovm_warning(M) `urm_warning(M) 00098 `define ovm_error(M) `urm_error(M) 00099 `define ovm_fatal(M) `urm_fatal(M) 00100 00101 `endif
![]() 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 Version: 1.5.5 Wed Jan 7 19:27:18 2009 |