Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

Enabling inbuilt UVM RAL coverage sampling

$
0
0

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.


Viewing all articles
Browse latest Browse all 756

Trending Articles