Class uvm_pkg::uvm_class_pair
Name |
Default value |
Description |
---|---|---|
T1 |
int |
|
T2 |
T1 |
Name |
Type |
Description |
---|---|---|
type_name |
string |
|
first |
int |
Variable T1 first The handle to the first object in the pair |
second |
int |
Variable T2 second The handle to the second object in the pair |
Name |
Actual Type |
Description |
---|---|---|
this_type |
Constructors
- new(string name = "", int f = null, int s = null)
Function
new
Creates an instance that holds a handle to two objects. The optional name argument gives a name to the new pair object.
- Parameters:
name (string)
f (int)
s (int)
Functions
- get_type_name()
- convert2string()
- do_compare(uvm_object rhs, uvm_comparer comparer)
- Parameters:
rhs (uvm_object)
comparer (uvm_comparer)
- do_copy(uvm_object rhs)
- Parameters:
rhs (uvm_object)
×
Copyright 2007-2011 Mentor Graphics Corporation Copyright 2007-2011 Cadence Design Systems, Inc. Copyright 2010-2011 Synopsys, Inc. All Rights Reserved Worldwide
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Class
uvm_class_pair #(T1,T2)
Container holding handles to two objects whose types are specified by the type parameters, T1 and T2.