Constraint

In reply to rohitk:

No rohitk,
as far as you are concerned about 16 bits to set that is wrong. I want only transitions but not how many bits are getting set. Transitions means for example,
AA took randomly the value as 'b1010 ----> No. of transitions are 3
like this…these transitions should not exceed the value 16 that is what i want.

Hope you understood the question what i am asking…

Thanking you,