Class uvm_pkg::uvm_parent_child_link
Constructors
- new(string name = "unnamed-uvm_parent_child_link")
- Function - new - Constructor - Parameters - 
name 
- 
Instance name 
 - Parameters:
- name (string) 
 
- 
Functions
- get_link(uvm_object lhs, uvm_object rhs, string name = "pc_link")
- Function - get_link - Constructs a pre-filled link - This allows for simple one-line link creations. - my_db.establish_link(uvm_parent_child_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:
 
- 
- do_set_lhs(uvm_object lhs)
- Function - do_set_lhs - Sets the left-hand-side (Parent) - Parameters:
- lhs (uvm_object) 
 
- do_get_lhs()
- Function - do_get_lhs - Retrieves the left-hand-side (Parent) - Return type:
 
- do_set_rhs(uvm_object rhs)
- Function - do_set_rhs - Sets the right-hand-side (Child) - Parameters:
- rhs (uvm_object) 
 
- do_get_rhs()
- Function - do_get_rhs - Retrieves the right-hand-side (Child) - Return type:
 
  ×
  
CLASS
uvm_parent_child_link
The uvm_parent_child_link is used to represent a Parent/Child relationship between two objects.