Intent: Get ascending order of values for a, b and c;
What is the difference between the two constraints ?
First Constraint gives an incorrect answer. Why?
Second constraint works correctly . Why ?
rand int a, b , c;
`ifdef CHECK
constraint c_abc { 0 < a < b < c; }
`else
constraint c_abc { 0 < a;
a < b;
b < c; }
`endif