How to make soft constraint for dynamic array type

1.i have declared data_in queue only.
2.

typedef enum bit [3:0] { SINGLE, INCR, WRAP4, INCR4, WRAP8, INCR8, WRAP16, INCR16,LE1} e_hburst;