Is defualt keyword is supportes in constraint?

In reply to perumallatarun:

The example you provided is invalid SystemVerilog code and will never work. You are trying to use the reserved keyword ‘input’ as an identifier, which is a LRM violation. Also, you cannot randomize a real variable.

You should post the exact code you are having issues with along with the exact error messages.