Hi All,
I want to do cross coverage between 3 coverpoints. However, I don’t have to check all 329 combinations.
When the first bin "ap_ctrl " in CP_1 get hit , for both ad and bd in Cp_2, the only first three bins in Cp_3 gets hit.
Similarly, When the second bin "bp_ctrl " in CP_1 get hit , for both ad and bd in Cp_2, the [4:6] three bins in Cp_3 gets hit. I have to do cross for this condition instead cross covering all bins. I want to write the Code in efficient way. Any suggestions are appreciated!
*In reply to Adin:*The simplest thing to do is breaking up coverpoints Cp_1 and Cp_3 into 3 separate coverpoints, then just cross the coverpoints that you want.
Cp_1_ap: coverpoint Name {
bins ap_ctrl = {Mem_ap_ctrl};
}
Cp_1_ab: coverpoint Name {
bins bp_ctrl = {Mem_bp_ctrl};
}
Cp_1_cp: coverpoint Name {
bins cp_ctrl = {Mem_cp_ctrl};
}
Assuming you did a similar thing for Cp_3, your crosses would be