i have a question regarding UVM registers coverage collection. The UVM register file is generated by the tool and by default in new function of the uvm register the coverage is OFF like below
function new(string name = "temp_register"); super.new(name, 32,build_coverage(UVM_NO_COVERAGE)); endfunction: new
In build phase of my tb environment i have coded like below:
reg_model = ral_block_temp_reg_file::type_id::create("reg_model", this); reg_model.set_coverage(UVM_CVR_ALL); reg_model.build();
i am unable to see the coverage collection for UVM register,register fields and address map in verification plan tree of vplan in Vmanager.
Can any one help me in this ?
Thanks in advance.