In reply to chr_sue:
Hii sir let me know what is incorrect in bellow read operation getting an error .
regmodel.DCR0_LOCK.read(.status(status) , .value(1) ); line no 170
Error-[AIORPML] Illegal argument to port
/project/classes/seq_lib/d_ip_atu_initialization_seq_lib.sv, 170
"uvm_pkg::\uvm_reg_field::read (this.regmodel.DCR0_LOCK, this.status, 1, /* path = UVM_DEFAULT_PATH */, /* map = null */, /* parent = null */, /* prior = (-1) */, /* extension = null */, /* fname = "\000" */, /* lineno = 0 */);"
Argument to inout/output/ref port must be an expression that is valid on the
left-hand side of a procedural assignment.
Argument: 1
Error-[IATOTC] Illegal argument to output of task call
/project/classes/seq_lib/d_ip_atu_initialization_seq_lib.sv, 170
"1"
Expression below cannot be connected to output of task call because it is
not a register or variable.
Expression: 1
Source info: uvm_pkg::\uvm_reg_field::read (this.regmodel.DCR0_LOCK,
this.status, 1, /* path = UVM_DEFAULT_PATH */, /* map = null */, /* parent =
null */, /* prior = (-1) ...