SyoSil ApS UVM Scoreboard
1.0.3.0
|
A utility class used to wrap cl_syoscb_item objects when when using hash queues. More...
Inherits uvm_object, and uvm_object.
Public Member Functions | |
virtual cl_syoscb_item | get_item (int unsigned idx=0) |
Item API: Returns an item from this hash item's queue If called without parameters, returns the first item from the queue If idx is not a valid index in the queue, raises a UVM_WARNING and returns null More... | |
virtual void | add_item (cl_syoscb_item item) |
Item API: Adds an item to this hash item More... | |
virtual int unsigned | get_size () |
Item API: Returns the number of items stored in this hash item | |
virtual void | delete_item (int unsigned idx=0) |
Item API: Deletes an item from this hash item More... | |
Private Attributes | |
cl_syoscb_item | items [$] |
Queue of cl_syoscb_item with the same hash. | |
A utility class used to wrap cl_syoscb_item objects when when using hash queues.
In case of a hash collision, this class contains a queue of all items with the same hash
Definition at line 3 of file cl_syoscb_hash_item.svh.
|
virtual |
Item API: Adds an item to this hash item
item | The item to add |
Definition at line 52 of file cl_syoscb_hash_item.svh.
References items.
Referenced by cl_syoscb_hash_aa_wrapper< HASH_DIGEST_WIDTH >::insert().
|
virtual |
Item API: Deletes an item from this hash item
idx | The index of the item to delete. If index is out range, generates a UVM_ERROR |
Definition at line 65 of file cl_syoscb_hash_item.svh.
References items.
Referenced by cl_syoscb_hash_aa_wrapper< HASH_DIGEST_WIDTH >::delete().
|
virtual |
Item API: Returns an item from this hash item's queue If called without parameters, returns the first item from the queue If idx is not a valid index in the queue, raises a UVM_WARNING and returns null
idx | The index to access. Defaults to 0 |
Definition at line 39 of file cl_syoscb_hash_item.svh.
References items.
Referenced by cl_syoscb_hash_aa_wrapper< HASH_DIGEST_WIDTH >::get_item().
![]() |
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 Version: 1.8.14 Generated with IDV SV Filter Version: 2.6.3 Fri Sep 2 2022 14:41:05 |