Hi,
according to uvm reference 1.2, the arguments of update and mirror tasks of uvm_reg are as follows:
virtual task update(
output uvm_status_e status,
input uvm_path_e path = UVM_DEFAULT_PATH,
input uvm_reg_map map = null,
input uvm_sequence_base parent = null,
input int prior = -1,
input uvm_object extension = null,
input string fname = "",
input int lineno = 0
)
virtual task mirror(
output uvm_status_e status,
input uvm_check_e check = UVM_NO_CHECK,
input uvm_path_e path = UVM_DEFAULT_PATH,
input uvm_reg_map map = null,
input uvm_sequence_base parent = null,
input int prior = -1,
input uvm_object extension = null,
input string fname = ""
}
It is not clear to me why the uvm_sequence_base parent argument is required for the tasks. What is the purpose of passing the handle to the parent sequence to the tasks mirror and update?
Can someone please explain.
regards,
-sunil puranik