Where is task do_item getting called?

Hi,

In ab.svh file, there is a task declared do_item(). This does a_seq to b_seq conversion. But that task is not getting called anywhere. Is it called by default by any base class or am I missing something? Anyone who did this example can through some light on this please?

-Murali

In reply to mpattaje:

AY file ab.svh does not exist in the UVM lib. Looks like it is a personal file of somebody. You should look where it gets called in your code.

In reply to chr_sue:

Hi,
I just again downloaded uvm_many_to_one.tgz from Sequences/Layering | Verification Academy. After extracting I see ab.svh file there. It can be only uploaded by authorized authors, right? Could user’s files creep in there? And it looks like an original file with Mentor’s copyright statements etc.

-Murali

In reply to mpattaje:

The do_item() is likely some legacy code that was used at one point but no longer necessary. It is never called and you can delete the task with no issues.