Code Coverage
Code Coverage
• We need a coverage file (.cf ) and a tcl file ( .tcl ) for the invoking Incisive Comprehensive
Coverage (ICC) in the SIMIAN environment.
• A tcl file includes commands to run the simulation with setup like specifying the design
,DUT , database and the test name.eg :
“~sentineli/team/ananthar/workRxDma/testrun/covf.tcl/”
• We have to include the code coverage files in the command line of the sim like “bsub -I
-q all_q -R "type == LINUX86" sim -local -waves +define+VIRAGE_IGNORE_RESET
+nccovfile+rcovf.cf +tcl+rcovf.tcl RXDMA_MC_SSP1_Core”
• Above command will create coverage files ( .cov for Code, .fsm for FSM & .tog for toggle)
in the cov_work directory in the present working directory.
• For invoking the iccr reporting tool in the working directory, use the command “iccr –
w cov_wrok –g”. Note: before this we have to set the DISPLAY variable.
• Under the File menu in the iccr tool, we have to open the design file (.dgn) inside the
cov_work directory.
• Then we can select any of the coverage files (.cov or .tog or .fsm) inside the
cov_work directory to open & analyze the same.
• For detailed analysis, we can go to the individual coverage palette in the iccr like
Code/Data or FSM or Functional.
• We can merge same type of coverage files on different sims of a particular design
using the “union” command in the file menu, resulting in a single consolidated
coverage file for the design.