Setting an internal signal to a value in UVM test module

Even better approach would be to take a look at the many resources that this very site provides. Coding guidelines, downloadable examples, and video courses.

Video Courses:

Coding Guidelines:

Testbench Generation & Reuse: