In reply to Er. Shipra:
linksize = trans.link.size()-1;
if (trans.randomize() with {
foreach (trans.link[w]) trans.link[linksize-w].word==data[w*8+:7]; else `uvm_error()
finish_item(trans);
In reply to Er. Shipra:
linksize = trans.link.size()-1;
if (trans.randomize() with {
foreach (trans.link[w]) trans.link[linksize-w].word==data[w*8+:7]; else `uvm_error()
finish_item(trans);