JonathanBromley Posted July 9, 2010 Report Share Posted July 9, 2010 1) The macro arguments are incorrectly documented. The first two arguments T, CB are swapped in the documentation - T shoudl be the type of the calling object, CB the type of the callback facade. The docs say "uvm_do_callbacks_exit_on(mycomp, mycb, ...)" 2) The macro is written as if it were a function body, which is fair enough because it must return a result. The documentation and examples, though, indicate wrongly that the macro itself should be called as if it were a function invocation. It's necessary to wrap it up in your own function. Anyone disagree? If not I'll log the bug early next week. cheers Quote Link to comment Share on other sites More sharing options...
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.