In reply to sachins:
If you look at the line found_ind_q=mem_q.find_first_index with(cur_xactn.addr==item.addr); the intent here is to find the item’s index that matches the current address. This is the inbuilt way of searching items (with various attributes like first index) in the queue. Hope this answers your question…
- Siva