In reply to tfitz:
Hi Tom,
Thanks for your reply. I read the UVM Cookbook and clearly understood the Build process. But it is not giving explanation that who calls the build method for child components. In cookbook it mentioned that “the components are created during build phase by create method”.
Which means that object of environment is created during the build phase of test class. which forces me to conclude that when build method of environment is getting called, then the object of environment class is already present, but objects of other components which are at lower level of hierarchy are not create yet.
But this observation does not explain that who is calling build_phase method of environment class??