1 |
16 |
HanySalah |
//
|
2 |
|
|
//----------------------------------------------------------------------
|
3 |
|
|
// Copyright 2007-2011 Mentor Graphics Corporation
|
4 |
|
|
// Copyright 2007-2011 Cadence Design Systems, Inc.
|
5 |
|
|
// Copyright 2010-2011 Synopsys, Inc.
|
6 |
|
|
// All Rights Reserved Worldwide
|
7 |
|
|
//
|
8 |
|
|
// Licensed under the Apache License, Version 2.0 (the
|
9 |
|
|
// "License"); you may not use this file except in
|
10 |
|
|
// compliance with the License. You may obtain a copy of
|
11 |
|
|
// the License at
|
12 |
|
|
//
|
13 |
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
14 |
|
|
//
|
15 |
|
|
// Unless required by applicable law or agreed to in
|
16 |
|
|
// writing, software distributed under the License is
|
17 |
|
|
// distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
18 |
|
|
// CONDITIONS OF ANY KIND, either express or implied. See
|
19 |
|
|
// the License for the specific language governing
|
20 |
|
|
// permissions and limitations under the License.
|
21 |
|
|
//----------------------------------------------------------------------
|
22 |
|
|
|
23 |
|
|
`ifndef UVM_MACROS_SVH
|
24 |
|
|
`define UVM_MACROS_SVH
|
25 |
|
|
|
26 |
|
|
//
|
27 |
|
|
// Any vendor specific defines go here.
|
28 |
|
|
//
|
29 |
|
|
|
30 |
|
|
`ifdef MODEL_TECH
|
31 |
|
|
`ifndef QUESTA
|
32 |
|
|
`define QUESTA
|
33 |
|
|
`endif
|
34 |
|
|
`endif
|
35 |
|
|
|
36 |
|
|
`ifndef UVM_USE_STRING_QUEUE_STREAMING_PACK
|
37 |
|
|
`define UVM_STRING_QUEUE_STREAMING_PACK(q) uvm_pkg::m_uvm_string_queue_join(q)
|
38 |
|
|
`endif
|
39 |
|
|
|
40 |
|
|
`ifndef QUESTA
|
41 |
|
|
`define uvm_typename(X) $typename(X)
|
42 |
|
|
`else
|
43 |
|
|
`define uvm_typename(X) $typename(X,39)
|
44 |
|
|
`endif
|
45 |
|
|
|
46 |
|
|
`ifdef VCS
|
47 |
|
|
// `ifndef UVM_DISABLE_RESOURCE_CONVERTER
|
48 |
|
|
|
49 |
|
|
//UVM_USE_RESOURCE_CONVERTER enables UVM-1.1d to print resources output to match uvm-1.1c. VCS2014.03 or later does not need resource_converter object.
|
50 |
|
|
// As per agreement in Committee at time of UVM-1.1d, from UVM-1.2 onwards the default is to disable resource converter and allow simulators to deal with %p natively. If a user wishes to enable resource converter then they need to compile using +define+UVM_USE_RESOURCE_CONVERTER. The resource converter was never officially sanctioned by Accellera and is placed in the deprecated directory which may be removed in future version.
|
51 |
|
|
// `define UVM_USE_RESOURCE_CONVERTER
|
52 |
|
|
|
53 |
|
|
// `endif
|
54 |
|
|
`endif
|
55 |
|
|
|
56 |
|
|
`ifdef INCA
|
57 |
|
|
`define UVM_USE_PROCESS_CONTAINER
|
58 |
|
|
`endif
|
59 |
|
|
|
60 |
|
|
//
|
61 |
|
|
// Deprecation Control Macros
|
62 |
|
|
//
|
63 |
|
|
`ifdef UVM_NO_DEPRECATED
|
64 |
|
|
`endif
|
65 |
|
|
|
66 |
|
|
`define uvm_delay(TIME) #(TIME);
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
`include "macros/uvm_version_defines.svh"
|
70 |
|
|
`include "macros/uvm_global_defines.svh"
|
71 |
|
|
`include "macros/uvm_message_defines.svh"
|
72 |
|
|
`include "macros/uvm_phase_defines.svh"
|
73 |
|
|
`include "macros/uvm_object_defines.svh"
|
74 |
|
|
`include "macros/uvm_printer_defines.svh"
|
75 |
|
|
`include "macros/uvm_tlm_defines.svh"
|
76 |
|
|
`include "macros/uvm_sequence_defines.svh"
|
77 |
|
|
`include "macros/uvm_callback_defines.svh"
|
78 |
|
|
`include "macros/uvm_reg_defines.svh"
|
79 |
|
|
`include "macros/uvm_deprecated_defines.svh"
|
80 |
|
|
|
81 |
|
|
`endif
|