MessageRay,
My comments are interspersed below in this color.
Arturo
----- Original Message -----
From: Ryan, Ray
To: sv-ec@eda.org
Sent: Thursday, March 11, 2004 1:37 PM
Subject: [sv-ec] additional Coverage question
How is cumulative (type) coverage affected by the dynamic creation/destruction of covergroups.
For example:
Given covergroup A:
1. create A1, instance of A with per_instance=0
- at this point, the cumulative/type coverage of A should reflect A1's coverage
Yes, that is correct. A's coverage reflects A1's. (assuming the coverage triggering event took place).
2. create A2, instance of A with per_instance=1
- at this point, the cumulative/type coverage of A should reflect A1 and A2 (?)
Yes, that is correct. A's coverage reflects both A1 and A2.
3. destroy A2
- at this point, how is the cumulative/type coverage of A calculated? does A2 contribute in any way now that it has been destroyed?
The coverage of A does not change from what it was above in step 2 (it already includes the coverage of A2).
The only additional contribution by A2 is that an entry for its instance is added to the coverage database.
4. destroy A1
- at this point, how is the cumulative/type coverage of A calculated? does A1 contribute in any way now that it has been destroyed?
The coverage of A does not change from what it was above in steps 2 and 3 (it already includes the coverage of A1 and A2).
In this case, since A1's per_instance is 0, there's no per-instance information added to the database.
Note that A's coverage information is static by nature, and continues to exist after the two instances (A1 and A2) are destroyed.
Received on Thu Apr 15 23:43:27 2004
This archive was generated by hypermail 2.1.8 : Thu Apr 15 2004 - 23:43:30 PDT