Using an expression inside a coverpoint bin

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 ^.

See Formatting in Posts to write: 2**350-1 or 2350-1

Your problem is the result of 2**350-1 is limited to width of 32-bits (2 is implicitly 32'sd2). You would have to write 251'd2**350-1 to prevent overflow. But a simpler way to say all ones is with a fill pattern

bins allOne = {'1};

Amazing! Thanks for the help, Dave. Hope all is well.

(I previously thanked you for this reply but it looks like my comment has been removed, is it uncustomary to reply solely for giving thanks?)

I appreciate the thanks, but it does clutter up the forum. Marking the post as a solution or “liking” works best. This is similar to the guidelines StackOverflow follows.