2011年6月6日 星期一

get_next_item的使用

從UVM library剪出來的

// Task: get_next_item
//
// Retrieves the next available item from a sequence. The call will block
// until an item is available. The following steps occur on this call:
//
// 1 - Arbitrate among requesting, unlocked, relevant sequences - choose the
// highest priority sequence based on the current sequencer arbitration
// mode. If no sequence is available, wait for a requesting unlocked
// relevant sequence, then re-arbitrate.
// 2 - The chosen sequence will return from wait_for_grant
// 3 - The chosen sequence is called
// 4 - The chosen sequence item is randomized
// 5 - The chosen sequence is called
// 6 - Return with a reference to the item
//
// Once is called, must be called to indicate the completion of the request to the sequencer. This will remove the request
// item from the sequencer fifo.

沒有留言: