Jump to content
Sign in to follow this  
drianf0

`uvm_do macro (documentation)

Recommended Posts

Hello,

I don't know, what is an official way to report a bug. I was not able to add one on the webpage: http://www.eda.org/svdb/view_all_bug_page.php because of lack of an access (I haven't sported any registration form). Anyway, I think that the description of the `uvm_do macro is misleading. It states: "This macro takes as an argument a uvm_sequence_item variable or object. The argument is created using `uvm_create if necessary, then randomized". Actually `uvm_create is called every time, no matter whether SEQ_OR_ITEM is null or not. My preliminary impression was that passing a non-'null' argument, i.e. already preconfigured item, the macro will skip creation, proceeding with randomization and so on...

Regards,

Adrian

Edited by drianf0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×