I have the following code:
size_cp: coverpoint cov_params.size{
bins size[] = (64,32=>64,32=>64,32);
}
channel_cp: coverpoint cov_params.channel{
bins channel[] = (0,1=>0,1=>0,1);
}
channel_size_cross: cross channel_cp, size_cp;
I want to ignore bins in the cross where channel = 1 and size = 32.
How do I write the ignore_bins syntax?
I tried:
ignore_bins ch_1_size_32 = binsof (size_cp) intersect {32=>64,32=>64,32} && binsof (channel_cp) intersect {1=>0,1=>0,1};
The compiler doesn’t like the syntax. I tried other variations as well.
Please help.
Thanks!