sj1992
1
Hi,
can 2 different coverpoints in a covergroup have bins with the same same name?
covergroup CG2 @(posedge clk);
coverpoint V
{
bins a = {3, 5};
bins f = {11};
}
coverpoint Z{
bins a = {2};
bins f = {5};
}
endgroup
dave_59
2
In reply to sj1992:
Yes; they are different scopes. Are you getting an error?
sj1992
3
In reply to dave_59:
Thanks Dave. I wanted to check before trying it out. I did not see any errors it worked fine.