Coverpoint turn off and on

In reply to Ishan:

I’m saying setting a coverpoint’s weight to 0 removes it from the overall coverage calculation - as if it were never there in the first place. Assume you had only three coverpoints A,B and C each with one bin in your testbench. If only B gets hit, you would have 33% overall coverage. If I set the weight of A to 0, the overall coverage goes up to 50%. But note that if A and B were both were hit, the overall coverage would be 66%, and setting the weight of A to 0 would go down to 50%. But presumably you are turning off the coverpoint because you want to ignore it because it can’t be hit in any possible testcase,

Maybe you need to explain how you want turning off a coverpoint to impact overall coverage.