Hi,
I want to use in-built UVM RAL cover groups.
I tried following steps but did not help :
1) Enable coverage building:
Before building register model, I use following :
uvm_reg::include_coverage("*",UVM_CVR_ALL);
2) To enable sampling :
<_regmodel>.set_coverage(UVM_CVR_ALL);
In my regmodel there are two types of cover groups: UVM_CVR_ADDR_MAP in top level register model and UVM_CVR_REG_BITS in individual registers.
I was hoping that UVM_CVR_ALL would enable sampling of all.
I could see cover groups getting built but are not sampled.
Am I missing something ?
Please let me know.
Thanks.