Hello.
I am having a bit of an issue with a certain coverpoint bin I need to create.
The variable that the coverpoint should cover is of type bit[349:0].
I need 3 bins - all bits 0, all bits random and all bits 1.
For the first two, I used:
bins zero = {0};
bins random = {[1:$]};
But for the third option, I obviously need the maximum number possible with 350 bits, which can be represented as 2^350-1.
But when I put this representation inside a bin like this:
bins allOne = {2^350-1};
Questa ends up not displaying this bin in the covergroups window under this coverpoint.
What could I be doing differently to have a bin for the maximum 350 bit number?
I used the ^ sign here because using double-* in the forum is regarded as a bolded text block. But in my code I use double-* instead of ^.