Dear All,
I’m trying to understand the code below,
function uvm_sequence_item reg2bus(const ref uvm_reg_bus_op rw);
...
endfunction
1.What does “const ref” mean? how does it work?
2.What if we use “reg2bus” function which is declared as"(const ref uvm_reg_bus_op rw)" argument, probably that reg2bus function should be called from somewhere I guess.
From here, I want to know that what mechanism be used to argument when that function be called?
For example,
How does reg2bus function with argument call from another function?