svt_toggle_cov_bit Class Reference

Inheritance diagram for class svt_toggle_cov_bit:

List of all members.


Detailed Description

Single bit coverage variable used to support coverage of individual or bused signals.



Public Member Functions

function void  bit_cov ( bit bit_val )
function void  new ( )

Protected Attributes

protected bit  bit_val 

Covergroups

covergroup  toggle_cov_bit  ( )


Member Function Documentation

  function void
 svt_toggle_cov_bit::bit_cov

 (  bit bit_val  ) 


Provide a new bit_val to be recognized and sampled.

  function void
 svt_toggle_cov_bit::new

 (   ) 


CONSTRUCTOR: Creates a new instance of the svt_toggle_cov_bit class.

Member Attribute Documentation

 protected bit  attribute
 svt_toggle_cov_bit::bit_val


The value being covered

Member CoverGroup Documentation

  covergroup
 svt_toggle_cov_bit::toggle_cov_bit


covergroup toggle_cov_bit;
     option.per_instance = 1;
    option.goal = 100;
    coverpoint bit_val {
      bins b0_to_b1 = (0 => 1);
      bins b1_to_b0 = (1 => 0);
    }
  
endgroup