Jump to content

controlled transition from one phase to another

Recommended Posts

Do you need to know exactly how an engine works to be able to drive a car? The whole point of using libraries is that you don't need to care how they're implemented, rather how to use them. Coming back to the car analogy, the UVM user guide isn't a service manual, so it won't describe the parts the car is made of and how they're connected. It will tell you what buttons to press to turn on the radio, to turn on the AC, start the engine, etc.

Link to comment
Share on other sites

I agree with you, but there is no problem in understanding how car engine work also. I had a doubt, I asked people where to ask, they suggested this site. And I think if somebody just want to learn, you cant just stop him. Coming back to car analogy, there are lot of posts you can see about how a car engine works.
If you know the answer, please let me know.


Link to comment
Share on other sites

Here's a high-level overview:


When the build phase starts, the test component is created and its build phase is run.

As the test creates more components, each component registers with the UVM environment and is added to a list of components whose build phases haven't run yet.

When the test's build phase is complete, UVM then goes through the list of components and runs their build phases. Each, in turn, may add more sub components to the list.

Wash, rinse, repeat.

When the list is empty, then all components have run through their build phases and the UVM build phase is complete.


Same thing happens with the connect phase and all the rest, except that in those no more components will be added.



So, you see, it's just like a car.   :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...