SyoSil ApS UVM Scoreboard  1.0.3.0
Public Member Functions | List of all members
cl_syoscb_queue_locator_std Class Reference

Locator class for searching over std queues. More...

+ Inheritance diagram for cl_syoscb_queue_locator_std:
+ Collaboration diagram for cl_syoscb_queue_locator_std:

Public Member Functions

virtual cl_syoscb_proxy_item_base search (cl_syoscb_proxy_item_base proxy_item)
 Locator API: See cl_syoscb_queue_locator_base::search for details
 
virtual bit compare_items (cl_syoscb_item primary_item, cl_syoscb_item sec_item, uvm_comparer comparer)
 Compare two scoreboard items and check if they're equal. More...
 
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...
 
- Public Member Functions inherited from cl_syoscb_queue_locator_base
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
 

Additional Inherited Members

- Protected Attributes inherited from cl_syoscb_queue_locator_base
cl_syoscb_queue_base owner
 The queue owning this locator.
 
cl_syoscb_cfg cfg
 Local handle to the SCB cfg.
 

Detailed Description

Locator class for searching over std queues.

Definition at line 2 of file cl_syoscb_queue_locator_std.svh.

Member Function Documentation

◆ compare_items()

bit cl_syoscb_queue_locator_std::compare_items ( cl_syoscb_item  primary_item,
cl_syoscb_item  sec_item,
uvm_comparer  comparer 
)
virtual

Compare two scoreboard items and check if they're equal.

Used as parameter to queue.find_first_index when searching std-queues

Parameters
primary_itemThe item from the primary queue
sec_itemThe item from the secondary queue
comparerThe comparer to use when comparing the two items
Returns
1 if the two items are equal, 0 otherwise

Definition at line 79 of file cl_syoscb_queue_locator_std.svh.

Referenced by search().

◆ search()

virtual cl_syoscb_proxy_item_base cl_syoscb_queue_locator_std::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 from cl_syoscb_queue_locator_base.


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:15
Find a documentation bug? Report bugs to: scoreboard@syosil.com