class datatype;
rand integer fchk;
endclass
module top();
datatype dt_new;
dt_new = new();
randomize(dt_new) with {dt_new.fckh == 'hx;};
endmodule
Compile Error:
Values of 'X' and 'Z' cannot be used within a constraint expression.
Why is this illegal?