For only randomizing some bits of the array and retaining value for other bits, example an 8 bit addr, only bits 6 and 3 need to be randomized. Rest remain the same.
In one of the forum questions, I saw this suggestion :
“You’ll need to create a separate variable. You can either randomize the separate variable and just move the bits you want into addr, or you can copy the value of addr to that variable before calling randomize and constrain the bits you don’t want randomized.”
How do I move in the randomized separate variables to the main array ? Should I use concatenation ?