Hello,
let's say i have a sequence, in this sequence i'm reading data using the uvm_do_with macro.
an example would be a read transaction in an APB agent.
how do i extract the data from it?
PARTIAL CODE:
virtual task body();
apb_item#(AW, DW) it;
case(op_kind)
`APB_READ: begin
`uvm_do_with(it,
{
it.address == tr_address;
it.rw == op_kind;
}
);// `uvm_do_with
end
endcase
endtask: body
Thx,
Assaf