Hello,
I have an additional question on `uvm_do_on_with macro, please:
Is it possible to specify the CONSTRAINT argument using a constraint block?
For example:
class my_vseq extends uvm_sequence#(my_seqit); //Virtual sequence type (uses sequence item type)
[...]
my_seq my_seq_h; //Sequence handle
constraint opcode_cnstr { my_seq_h.opcode inside {0,1,2,3,4}; } //opcode is a seqit field
task body();
`uvm_do_on_with(my_seq_h.p_sequencer.my_seqr_h, {opcode_cnstr;} )
//`uvm_do_on_with(my_seq_h.p_sequencer.my_seqr_h, {opcode inside {0,1,2,3,4};} )
endtask
endclass
Thanks in advance!