How to create a coverage range bin using the set_covergroup_expression option?

In reply to rgarcia07:

In reply to snognog:
You could create a queue with the values you want and set them as bins, please look at this example (supported from 1800-2012 SV LRM)
Constraining/Selecting valid bins of a coverpoint using a queue or dynamic array - SystemVerilog - Verification Academy
HTH,
-R

Hi,

Thanks, I saw this example before, but if I’m not wrong, this crates bins - each with a single value - not a range as I’m looking for.

Or am I wrong ?

Thanks !