SyoSil ApS UVM Scoreboard  1.0.3.0
Public Member Functions | List of all members
cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH > Class Template Reference

Locator class for searching over generic hash queues. More...

+ Inheritance diagram for cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >:
+ Collaboration diagram for cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >:

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 validate_match (cl_syoscb_proxy_item_base primary_proxy, cl_syoscb_proxy_item_base secondary_proxy)
 Validates that a sequence item found in a secondary hash queue matches the sequence item being searched for. More...
 
virtual void validate_no_match (cl_syoscb_proxy_item_base primary_proxy)
 Validates that no sequence item in this secondary hash queue matches the primary sequence item being searched for. 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

template<int unsigned HASH_DIGEST_WIDTH = 1>
class cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >

Locator class for searching over generic hash queues.

Definition at line 2 of file cl_syoscb_queue_locator_hash.svh.

Member Function Documentation

◆ search()

template<int unsigned HASH_DIGEST_WIDTH = 1>
virtual cl_syoscb_proxy_item_base cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >::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.

◆ validate_match()

template<int unsigned HASH_DIGEST_WIDTH = 1>
bit cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >::validate_match ( cl_syoscb_proxy_item_base  primary_proxy,
cl_syoscb_proxy_item_base  secondary_proxy 
)
virtual

Validates that a sequence item found in a secondary hash queue matches the sequence item being searched for.

Raises a UVM_ERROR if the items do not match

Parameters
primary_proxyThe proxy item from the primary queue
secondary_proxyThe proxy item found in the secondary queue
Returns
1 is the two items match represented by proxy items match, 0 otherwise

Definition at line 101 of file cl_syoscb_queue_locator_hash.svh.

Referenced by cl_syoscb_queue_locator_hash< pk_syoscb::MD5_HASH_DIGEST_WIDTH >::search().

◆ validate_no_match()

template<int unsigned HASH_DIGEST_WIDTH = 1>
void cl_syoscb_queue_locator_hash< HASH_DIGEST_WIDTH >::validate_no_match ( cl_syoscb_proxy_item_base  primary_proxy)
virtual

Validates that no sequence item in this secondary hash queue matches the primary sequence item being searched for.

Raises a UVM_ERROR if a match is actually found

Parameters
primary_proxyThe proxy item from the primary queue

Definition at line 159 of file cl_syoscb_queue_locator_hash.svh.

Referenced by cl_syoscb_queue_locator_hash< pk_syoscb::MD5_HASH_DIGEST_WIDTH >::search().


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