In reply to dave_59:
rand bit [1:0] ab;
constraint c1 { ab dist {0:= 25, 1:= 75}; }
constraint c2 { ab dist {0:= 50, 1:= 2}; }
Since Values are overlapping ab would still be either 0 OR 1 .
How would the weight be allocated ? Would weights be average ?