Looking for tips about using NC COV

Status
Not open for further replies.

gold_kiss

Full Member level 4
Joined
Sep 11, 2002
Messages
211
Helped
7
Reputation
14
Reaction score
4
Trophy points
1,298
Activity points
1,789
Hi,
I need help in using NC COV

can anyone guide me on using this tool
commands for instrumentation, elaboration etc ...
detailed help is needed...
Cheers,
Gold_Kiss
 

+nccoverage

i just used it :

i wrote this script :
---------------------------------
#!/bin/tcsh -f
setenv CDS_INST_DIR /tools/cadence/ldv_standard


set TARGET = your current test




foreach d (tests/$TARGET)


# Merge and convert all coverage files to one result file

nccov -merge tests/$TARGET/*newdb

# Generate report file
nccov -batch -stmt -detail context YOURDESIGN-MERGE.dsn -outdir ./final_cov -outfile YOURDESIGN.rpt
------------------------------------------

create cover_com file :

coverage -dump -now
run





running -add to ncverilog line :

+nccoverage +nclinedebug +ncsimargs+"-input cover_com"

----------------------------------------------

i used this code to run it on tests that where in the tests directory.
i had like 100 tests there. so i run a loop of 100 to run all of them and "colected" the coverage .

hope it gave u idea how to use the nccov .....

Danny
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…