Hello,
We have programmable registers/tables we would like to randomize. Some of the values are illegal. In real system, the programmgers has to program the registers/tables legal values in legal sequences. We have to make a choice from the following:
1. Constrain values in sequence/configuration so that no illegal condition happens.
2. Set up predictors/scoreboards so that predictors/scoreboards handle appropriately when illegal condition happens.
If we choose #1, the constraints may become super-complicated. Also we might mask corner cases we might hit if we have less constraints. If we choose #2, we might hit too many illevant cases that we don't care about, and we may end up missing real corner cases. These are my concerns.
Which way is recommended?
Thank you for your help!