|HOME |ABOUT |ARTICLES |ACK |FEEDBACK |TOC |LINKS |BLOG |JOBS |


Tutorials



TYPES OF CODE COVERAGE


There are a number of coverage criteria, they are:

  Statement coverage /line coverage
  Block/segment coverage
  Conditional coverage
  Branch coverage
  Toggle coverage
  Path coverage
  Fsm coverage

The following example is considered while explaining code coverage types in further sections.


EXAMPLE
     1
     2  module dut();
     3      reg a,b,c,d,e,f;
     4 
     5      initial
     6      begin
     7          #5 a = 0;
     8          #5 a = 1;
     9      end
     10    
     11     always @(posedge a)
     12     begin
     13          c = b && a;
     14          if(c && f)
     15            b = e;
     16          else 
     17            e = b;
     18          
     19          case(c)
     20            1:f = 1;
     21            0:f = 0;
     22            default : f = 0;
     23          endcase
     24          
     25     end
     26 endmodule



Index
Asic Design
Bottle Neck In Asic Flow
Functional Verification Need
Testbench
Linear Testbench
Linear Random Testbench
How To Check The Results
Self Checking Testbenchs
How To Get Scenarios Which We Never Thought
How To Check Whether The Testbench Has Satisfactorily Exercised The Design
Types Of Code Coverage
Statement Coverage
Block Coverage
Conditional Coverage
Branch Coverage
Path Coverage
Toggle Coverage
Fsm Coverage
Make Your Goal 100 Percent Code Coverage Nothing Less
Functional Coverage
Coverage Driven Constraint Random Verification Architecture
Phases Of Verification
Ones Counter Example
Verification Plan

Report a Bug or Comment on This section - Your input is what keeps Testbench.in improving with time!





<< PREVIOUS PAGE

TOP

NEXT PAGE >>

copyright © 2007-2017 :: all rights reserved www.testbench.in::Disclaimer