The LRM says,
"Option assignment statements in the covergroup definition are evaluated at the time that the covergroup is
instantiated. The per_instance and get_inst_coverage options can only be set in the covergroup
definition. The auto_bin_max and detect_overlap options can only be set in the covergroup or coverpoint
definition. Other instance-specific options can be assigned procedurally after a covergroup has
been instantiated."
Does that help?
Regards,
Shalom
From: owner-sv-ec@eda.org [mailto:owner-sv-ec@eda.org] On Behalf Of Vaibhav Bhutani
Sent: Tuesday, April 19, 2011 2:58 PM
To: 'sv-ec@eda.org'
Subject: [sv-ec] Query regarding covergroup option
Hi Coverage Experts,
The BNF of covergroup option states:
option.member_identifier = expression
This means that RHS can be any generic expression. Is that the real intention for using "expression" as RHS? Now, if we assume
that was the intent, we can consider the construction time value of the expression for the assignment purpose.
The other intention of using "expression" may be to capture the fact that apart from constant expressions, only covergroup argument based
expressions and instance const based expressions are allowed.
Just wanted to know if anybody remembers the intention here.
Regds,
Vaibhav Bhutani
---------------------------------------------------------------------
Intel Israel (74) Limited
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Sun Jul 3 02:40:26 2011
This archive was generated by hypermail 2.1.8 : Sun Jul 03 2011 - 02:40:39 PDT