Hi all.. I am trying to create a a simple memory using uvm_mem. My question is : can I use this memory in isolation,i.e. without putting it in reg model?
For eg : I defined a memory in the following way
class spi_flash_mem_c extends uvm_mem;
function new(string name = "spi_flash_mem_c");
super.new(name, 4'd15, 16, "RW", UVM_NO_COVERAGE);
endfunction : new
endclass : spi_flash_mem_c
Now, can I use it directly in another class to read and write out of it? Or do I have to add it to reg model and access it from there?