Jump to content

Help in uvm_do macro in UVM methodology?


Recommended Posts

Hello all,

Can someone plz give me brief about 'uvm_do and its subordinate macros? Whats exactly their purposes in writing sequences? Can someone plz put some light on it?

Also do sequence/sequencer registration macros are still used? Whats the use of `uvm_update_sequence_lib_and_item macro ?

Thanks,

Swapnil

Link to comment
Share on other sites

Hello,

You can run the sequence on driver by using `uvm_do_* macros.

It is alternative of using start_item and finish_item in sequence.

Main purpose of this is to allow flexibility in modifying/randomizing transaction item values before sending them to driver.

for example:- you can write in your sequence :-

`uvm_do_with (req , {req.transaction_item1 == value; req,transaction_item2 == value2; })

For more info, You can look in user guide & UVM CRM.

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