Constrained randomization

In reply to chethan2807:
You call randomize() before starting it in your test.

task my_test::run_phase(uvm_phase phase);
   ...
   seq = simple_sequence::type_id::create(...);
   if (!seq.randomize()) `uvm_fatal("RANDOMFAIL","Could not randomize sequence");
   seq.start();
...
endtask