Hello,
I need help with randomize function.
I have commands stored in a queue, say
int master_cmdQ[$];…
I have a function in my monitor that pushes commands into master_cmdQ.
Based on the master command I have to size an array in my item (uvm_sequence_item), so will this work
assert(comm_item.randomize() with {comm_item.kind == master_cmdQ.pop_front();})
Thanks