Number of set bits ('b1) in 8 bit random variable should be grater than 3 is failed with the following error

In reply to nagar975:

Yes. More accurately, calling randomize() first calls pre_randomize, then solves the constraints, then call post_randomize().