Can a module be instantiated in a class, in UVM?

In reply to dave_59:

Dear Sir,

If a module cant be instantiated inside a class, then plz help me with this issue. I need to convert the packet bytes from parallel to serial because my DUT takes only serial bits. I am trying to use parallel to serial in a module and trying to connect it to the Driver inside the run phase. How would this work? I am not getting any idea. Plz guide me for this.

Thanks,
Swapnil