Please tell me how to cross two cover groups:
A :coverpoint a;
B: coverpoint b;
How to cross cg1 coverpoint A & coverpoint ,cg2 coverpoint B
I tried below ..but no solution.....
In cg cg2
cg1 cg = new();
cross : cg.A,B;
Please help me out:
NOTE: i am writing coverage in monitor class.