Use `uvm_do macro from uvm_test

In reply to dave_59:

Ok thanks for your replies.

So, do you think it’s possible to rewrite the macro accepting only a sequence, removing the SEQ_OR_ITEM complication. I still need to identify if the pointer to parent sequence is null or this, i.e. if it’s being called from a sequence (this) or elsewhere (null).

Or is it simply best to avoid the macros. Test writer must use create/create_item, randomize, start/start_item, finish_item.

The problem with the latter is the code mass/read ability, we have some verification environments with 100K+ lines of code and there’s a lot of boiler plate code required to launch a sequence that’s begging for some kind of wrapper… ?