Managing constraints from the test case

Hi All
I am facing this problem of complex stimuli and abstraction levels im my actual tasks.
What I’m doing is:

  • Declare the sequences with many control knobs, so I can have a high control degree outside it.
  • Start the sequences directly from test using seq.start() method.
  • I have a configuration class inside test, this cfg class is passed to all sequences instances in the test.build() method. This way the cfg class automatically pass parameters from test to sequences, that will influence in the randomization.
  • I also have a lot of test tasks that execute especific sequences with special control on its randomization.

This scheme has been doing the job very well!!
Ask for more details if someone got interested in that!