Hi,
I am trying to constraint random value of array to be in a range and also unique, here is what I write:
constraint c { unique {array};
foreach (array[i]) array[i] inside{[0:31]};
}
But I got this message:
ERROR VCP2000 "Syntax error. Unexpected token: _UNIQUE."
Does anyone know what is wrong with my constraints?
Thanks