Subject: [sv-ec] Question/Suggestion: 3.1a Draft2, Section 20.4.1
From: Sandeep Pagey (pagey@cadence.com)
Date: Thu Feb 19 2004 - 04:33:36 PST
The document must also contain an example of the usage of default sequence. The example on Page 293 can be modified as follows
bit [4:1] v_a;
covergroup cg @(posedge clk);
coverpoint v_a
{
bins sa = (4 => 5 => 6, {[7:9],10}=>{11,12});
bins sb[] = (4=> 5 => 6, {[7:9],10}=>{11,12});
bins allother = default sequence;
}
Endgroup
The bin "allother" is used to keep track of all the other transitions which are not defined for bins "sa" and "sb". Specifying "allother[]" will generate an error.
This archive was generated by hypermail 2b28 : Thu Feb 19 2004 - 04:41:03 PST