[source]

Class uvm_pkg::uvm_class_pair

Class

uvm_class_pair #(T1,T2)

Container holding handles to two objects whose types are specified by the type parameters, T1 and T2.

Parameters

Name

Default value

Description

T1

int

T2

T1

Variables

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

Typedefs

Name

Actual Type

Description

this_type

uvm_class_pair#(T1, T2)

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:
do_copy(uvm_object rhs)
Parameters:

rhs (uvm_object)