Suppose I have an input file (someinputdata.txt) to be loaded in the uvm-based memory which is
declared as follows and instantiated somewhere on a register block (a class that extends
a uvm_reg_block).
class mymemory extends uvm_mem;
`uvm_object_utils(mymemory)
function new(string name = "mymemory");
super.new(name, 32'h800, 32, "RW", UVM_NO_COVERAGE);
endfunction
endclass
I'm not sure if there is a built-in function to load an input
file to uvm_mem.
How do you efficiently load someinputdata.txt to this memory?