Use the output of a module inside a class (including task (generator)

In reply to chr_sue:

It is a UVM code belive me :)