How to define a condition for a covergroup (using iff)?

In reply to dave_59:

Hello Dave,

I am getting fatal when i did constructing the covergoup under condition as you mentioned.

Fatal error reported during simulation. Cannot run ‘fcover’ command. Please look above output for the fatal error message(s).

I am working on UVM Based environment.If i have used as below also i am getting errors.

covergroup cov_sample iff(en) (params) @(triggering condition);