Class uvm_pkg::uvm_related_link
Constructors
function
- new(string name = "unnamed-uvm_related_link")
Function
new
Constructor
Parameters
-
name
-
Instance name
- Parameters:
name (string)
-
Functions
static function uvm_related_link
- get_link(uvm_object lhs, uvm_object rhs, string name = "ce_link")
Function
get_link
Constructs a pre-filled link
This allows for simple one-line link creations.
my_db.establish_link(uvm_related_link::get_link(record1, record2));
Parameters:
-
lhs
-
Left hand side reference
-
rhs
-
Right hand side reference
-
name
-
Optional name for the link object
- Parameters:
lhs (uvm_object)
rhs (uvm_object)
name (string)
- Return type:
-
virtual function void
- do_set_lhs(uvm_object lhs)
Function
do_set_lhs
Sets the left-hand-side
- Parameters:
lhs (uvm_object)
virtual function uvm_object
- do_get_lhs()
Function
do_get_lhs
Retrieves the left-hand-side
- Return type:
virtual function void
- do_set_rhs(uvm_object rhs)
Function
do_set_rhs
Sets the right-hand-side
- Parameters:
rhs (uvm_object)
virtual function uvm_object
- do_get_rhs()
Function
do_get_rhs
Retrieves the right-hand-side
- Return type:
×
CLASS
uvm_related_link
The uvm_related_link is used to represent a generic "is related" link between two objects.