Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1074

How to use cve_coverage_save_nc?

$
0
0

Hello,


I'm trying to do functional verification using SystemC.

I already create an structure using scv_coverpoint and scv_covergroup, and I can extract the coverage from covergroup using the function coverage() from scv_coverobject_if base class.

The problem is when I try to generate the results to visualize with iccr gui.

Example of code:

int count;

ncsc_viewable<int> vcount;
scv_covergroup cgp_count;
scv_coverpoint cov_count;

cve_coverage_save_nc();

cov_count.cover(scv_expression::create_reference(vcount),
                scv_coverbin::DYNAMIC);
cov_count.sample_at(&this->vcount);

cgp_count.cover(cov_count);


I execute with 'irun -coverage all' and I get this message error:

ncsim: *E,SIGUSR: Unix Signal SIGSEGV raised from user application code.

 

When I remove the function cve_coverage_save_nc, works without problem but I can't visualize with iccr.

Any idea? What I am doing wrong? Exist an example of how to use this function?

 

Best Regards,

 

Ciro Ceissler


Viewing all articles
Browse latest Browse all 1074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>