urm_type_compatibility.svh

Go to the documentation of this file.
00001 // $Id: urm__type__compatibility_8svh-source.html,v 1.1 2008/10/07 21:54:15 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 URM_TYPE_COMPATIBILITY_SVH
00022 `define URM_TYPE_COMPATIBILITY_SVH
00023 
00024 typedef ovm_object             urm_object;
00025 typedef ovm_transaction        urm_transaction;
00026 typedef ovm_event              urm_event;
00027 typedef ovm_event_pool         urm_event_pool;
00028 typedef ovm_component          urm_named_object;
00029 typedef ovm_component          urm_unit_base;
00030 typedef ovm_component          urm_unit;
00031 typedef ovm_printer            urm_printer;
00032 typedef ovm_comparer           urm_comparer;
00033 typedef ovm_recorder           urm_recorder;
00034 typedef ovm_factory            urm_factory;
00035 typedef ovm_object_wrapper     urm_object_wrapper;
00036 
00037 `ifdef URM_GLOBALS
00038 
00039 parameter NONE = int'(OVM_NONE);
00040 parameter LOW = int'(OVM_LOW);
00041 parameter MEDIUM = int'(OVM_MEDIUM);
00042 parameter HIGH = int'(OVM_HIGH);
00043 parameter FULL = int'(OVM_FULL);
00044 parameter STREAMBITS = int'(OVM_STREAMBITS);
00045 parameter RADIX = int'(OVM_RADIX);
00046 parameter BIN = int'(OVM_BIN);
00047 parameter DEC = int'(OVM_DEC);
00048 parameter UNSIGNED = int'(OVM_UNSIGNED);
00049 parameter OCT = int'(OVM_OCT);
00050 parameter HEX = int'(OVM_HEX);
00051 parameter STRING = int'(OVM_STRING);
00052 parameter TIME = int'(OVM_TIME);
00053 parameter ENUM = int'(OVM_ENUM);
00054 parameter NORADIX = int'(OVM_NORADIX);
00055 parameter DEFAULT_POLICY = int'(OVM_DEFAULT_POLICY);
00056 parameter DEEP = int'(OVM_DEEP);
00057 parameter SHALLOW = int'(OVM_SHALLOW);
00058 parameter REFERENCE = int'(OVM_REFERENCE);
00059 parameter DEFAULT = int'(OVM_DEFAULT);
00060 parameter ALL_ON = int'(OVM_ALL_ON);
00061 parameter COPY = int'(OVM_COPY);
00062 parameter NOCOPY = int'(OVM_NOCOPY);
00063 parameter COMPARE = int'(OVM_COMPARE);
00064 parameter NOCOMPARE = int'(OVM_NOCOMPARE);
00065 parameter PRINT = int'(OVM_PRINT);
00066 parameter NOPRINT = int'(OVM_NOPRINT);
00067 parameter RECORD = int'(OVM_RECORD);
00068 parameter NORECORD = int'(OVM_NORECORD);
00069 parameter PACK = int'(OVM_PACK);
00070 parameter NOPACK = int'(OVM_NOPACK);
00071 parameter PHYSICAL = int'(OVM_PHYSICAL);
00072 parameter ABSTRACT = int'(OVM_ABSTRACT);
00073 parameter READONLY = int'(OVM_READONLY);
00074 parameter NODEFPRINT = int'(OVM_NODEFPRINT);
00075 
00076 typedef ovm_radix_enum radix_enum;
00077 typedef ovm_bitstream_t bitstream_t;
00078 
00079 function void print_topology();
00080    ovm_print_topology();
00081 endfunction
00082 function bit is_match(string e, string m);
00083   return ovm_is_match(e,m);
00084 endfunction
00085 function logic[OVM_LARGE_STRING:0] string_to_bits(string str);
00086   return ovm_string_to_bits(str);
00087 endfunction
00088 function string bits_to_string(logic[OVM_LARGE_STRING:0] str);
00089   return ovm_bits_to_string(str);
00090 endfunction
00091 function ovm_component get_unit(string name);
00092   return ovm_top.find(name);
00093 endfunction
00094 function automatic void get_units(string name, ref urm_unit_base cq[$]);
00095   ovm_top.find_all(name, cq);
00096 endfunction
00097 
00098 ovm_printer default_printer = ovm_default_printer;
00099 ovm_tree_printer default_tree_printer = ovm_default_tree_printer;
00100 ovm_line_printer default_line_printer = ovm_default_line_printer;
00101 ovm_table_printer default_table_printer = ovm_default_table_printer;
00102 
00103 `endif
00104 
00105 `endif

Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 1.1.0
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.4.6
Mon Sep 29 14:23:30 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV