Jump to content

can we use callback in other class than driver class or monitor or scorboard

Recommended Posts

When you refer to callback's in UVM, there are two possible definitions:

1. So-called "callback" virtual methods implementing build_phase(), connect_phase(), start_of_simulation_phase(), etc.

2. Real callbacks implemented in a callback class with complete registration, etc.


If you are refering to #1, then you are limited to the class inheritance definitions.

If #2, then anything is possible as long as you have a handle to the callback object.

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...