N
NARESH SAMBHNANI
Guest
I am facing a problem in randomizing an array. As per my need:-
I have an array of 16 elements having 9 bits each. My need is to set 15 elements to a known value and have to randomize an element. which element has to be randomized is to be choosen randomly. And only one element has to be randomized.
One solution i have seen that randomize the element inside the constraints and map the fixed values in post_randomized task.
Is there any other way to this stuff ??
I have an array of 16 elements having 9 bits each. My need is to set 15 elements to a known value and have to randomize an element. which element has to be randomized is to be choosen randomly. And only one element has to be randomized.
One solution i have seen that randomize the element inside the constraints and map the fixed values in post_randomized task.
Is there any other way to this stuff ??