wuddi Posted July 18, 2012 Report Share Posted July 18, 2012 Dear UVM experts: I am a new to UVM, I have a question, the different between seq_item_port.get() and seq_item_port.get_next_item(). Is the get method is equivalent to seq_item_port.get_next_item() and seq_item_port.item_done(); Thank you! Quote Link to comment Share on other sites More sharing options...
petermonsson Posted July 23, 2012 Report Share Posted July 23, 2012 Hi wuddi, Please see the documentation for get and get_next_item: http://www.vmmcentral.org/uvm_vmm_ik/files3/tlm1/sqr_ifs-svh.html#uvm_sqr_if_base#%28REQ,RSP%29.get_next_item "Once get_next_item is called, item_done must be called to indicate the completion of the request to the sequencer. This will remove the request item from the sequencer fifo." "When get is called, item_done may not be called. A new item can be obtained by calling get again, or a response may be sent using either put, or uvm_driver::rsp_port.write()." Quote Link to comment Share on other sites More sharing options...
wuddi Posted July 23, 2012 Author Report Share Posted July 23, 2012 Dear petermonsson, Thank you very much! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.