Negation in randonmization is not working

In reply to chr_sue:

In reply to shubham dubey:
inside requires always a range. You are using inside with a fixed value.
Try this

std::randomize(rand_data1) with {rand_data1 == !(8'hFB);};

Christoph, This statement is not correct. You can use the inside operator with single value, or a list of individual values.

[br]
The original example works for me. Please explain what “not working” means. Show a complete example and the results you are getting.