$ is not working in constraint Inside operator

In reply to kranthi445:
This works for me in Questa and on 2 other simulators I was able to try on EDAplayground.com. Contact your vendor for support.

BTW, for an unsigned bit vector, you can use '1 instead of $.