Suppose I have the coverpoints and crosses shown in the code below. Can you please let me know why is my code not working and any alternative that I could try.
Hi Sohan,
Please check my last comment. That is working fine. I just want to know why can’t I use an array instead of explicitly mentioning individual addresses. The example I shared above is giving compilation errors.
why are you clubbing 4 addresses in 1 bin?
These addresses are for registers (32 bits) in a byte addressed memory. So, 0008_0000 - 0008_003 belongs to single register.
I am having a similar situation wherein I need to ignore the array of bins in cross coverage. I tried with the “with” clause but it is not working. It is resulting in a compilation error stating An expression with an unpacked array datatype is not allowed in this context [SystemVerilog]. Any suggestions here?