SyoSil ApS UVM Scoreboard  1.0.3.0
Public Member Functions | Protected Attributes | List of all members
cl_syoscb_queue_locator_base Class Reference

Locator base class defining the locator API used for searching in queues. More...

+ Inheritance diagram for cl_syoscb_queue_locator_base:
+ Collaboration diagram for cl_syoscb_queue_locator_base:

Public Member Functions

virtual cl_syoscb_proxy_item_base search (cl_syoscb_proxy_item_base proxy_item)
 Locator API: Returns the item of the underlying queue which matches the given proxy item More...
 
virtual bit set_queue (cl_syoscb_queue_base owner)
 Locator API: Sets the queue that this locator is associated with
 
virtual cl_syoscb_queue_base get_queue ()
 Locator API: Returns the queue that this locator is associated with
 

Protected Attributes

cl_syoscb_queue_base owner
 The queue owning this locator.
 
cl_syoscb_cfg cfg
 Local handle to the SCB cfg.
 

Detailed Description

Locator base class defining the locator API used for searching in queues.

Locators are primarily used with the OOO compare and hash queues, as this allows us to efficiently find an item with a matching digest

Definition at line 4 of file cl_syoscb_queue_locator_base.svh.

Member Function Documentation

◆ search()

cl_syoscb_proxy_item_base cl_syoscb_queue_locator_base::search ( cl_syoscb_proxy_item_base  proxy_item)
virtual

Locator API: Returns the item of the underlying queue which matches the given proxy item

Parameters
proxy_itemA proxy item indicating what to search for in this queue
Returns
A proxy item pointing to the matching item in this queue, or null if no match is found

Reimplemented in cl_syoscb_queue_locator_std, cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >, cl_syoscb_queue_locator_hash< pk_syoscb::MD5_HASH_DIGEST_WIDTH >, cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >, cl_syoscb_queue_locator_std, and cl_syoscb_queue_locator_hash< pk_syoscb::MD5_HASH_DIGEST_WIDTH >.

Definition at line 34 of file cl_syoscb_queue_locator_base.svh.

Referenced by cl_syoscb_compare_ooo::secondary_loop_do().


The documentation for this class was generated from the following files:

Project: SyoSil ApS UVM Scoreboard, Revision: 1.0.3.0

Copyright 2014-2022 SyoSil ApS
All Rights Reserved Worldwide

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
doxygen
Doxygen Version: 1.8.14
Generated with IDV SV Filter Version: 2.6.3
Fri Sep 2 2022 14:41:14
Find a documentation bug? Report bugs to: scoreboard@syosil.com