Constraint for one hot encoded vectors in SV

In reply to Etrx91:

Built-in SV functions are not treated the same as user defined functions. They can be inlined into the constraint expression.