Hi,
I am new to UVM Register Layer.
I want to use the same inside an existing UVM env.
I have register read and write functions already implemented in the sequence
which has the following Implementation:-
function reg_write(bit [31:0] adress, bit [31:0] data);
`ovm_do_on (APB_READ_SEQ, APB_SEQR);
endfunction
function reg_write(bit [31:0] adress, output bit [31:0] data);
`ovm_do_on (APB_WRITE_SEQ, APB_SEQR);
endfunction
How can I map this function to the RAL read and write?
Can we use the address of register directly inside write function?
Thanks in advance.