Class uvm_pkg::uvm_built_in_pair
Name |
Default value |
Description |
---|---|---|
T1 |
int |
|
T2 |
T1 |
Name |
Type |
Description |
---|---|---|
type_name |
string |
|
first |
int |
Variable T1 first The first value in the pair |
second |
int |
Variable T2 second The second value in the pair |
Name |
Actual Type |
Description |
---|---|---|
this_type |
Constructors
- new(string name = "")
Function
new
Creates an instance that holds two built-in type values. The optional name argument gives a name to the new pair object.
- Parameters:
name (string)
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)
×
CLASS
uvm_built_in_pair #(T1,T2)
Container holding two variables of built-in types (int, string, etc.). The types are specified by the type parameters, T1 and T2.