Jump to content

Incorrect argument passing into ovm_callback macro (ovm_do_callbacks)


dvenki

Recommended Posts

In page 145 where uvm_callback is detailed, the macro `uvm_do_callbacks(T,CB, METHOD) but the source code has it as

`uvm_do_callbacks(mycb, mycomp, seqr, my_function(seqr, curr_addr, curr_data))

I documentation in UG is unclear and possibly wrong

`uvm_do_callbacks(bus_driver_cb, bus_driver, trans_recieved(this,tr,.drop))

The order of the arguments is contradicting the source. Has anyone implemented a callback w/ the example mentioned in the UG

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.

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