SyoSil ApS UVM Scoreboard  1.0.3.0
cl_syoscb_proxy_item_hash.svh
1 /// Proxy item implementation for hash queues.
2 /// Contains a reference to the digest value of the item for easy AA lookup.
3 /// \param HASH_DIGEST_WIDTH Number of bits used for hash digests in the used hash algorithm
4 class cl_syoscb_proxy_item_hash#(int unsigned HASH_DIGEST_WIDTH = 1) extends cl_syoscb_proxy_item_base;
5  //-------------------------------------
6  // Non randomizable variables
7  //-------------------------------------
8  /// The digest for the hashed scoreboard item
9  cl_syoscb_hash_base#(HASH_DIGEST_WIDTH)::tp_hash_digest digest;
10 
11  ///The index in the cl_syoscb_hash_item with that digest where the item is located.
12  ///This field is only really used when hash collisions occur (very rarely)
13  int unsigned idx = 0;
14 
15  //-------------------------------------
16  // UVM Macros
17  //-------------------------------------
18  `uvm_object_param_utils_begin(cl_syoscb_proxy_item_hash#(HASH_DIGEST_WIDTH))
19  `uvm_field_int(digest, UVM_DEFAULT)
20  `uvm_field_int(idx, UVM_DEFAULT)
21  `uvm_object_utils_end
22 
23  //-------------------------------------
24  // Constructor
25  //-------------------------------------
26  function new(string name = "cl_syoscb_proxy_item_hash");
27  super.new(name);
28  endfunction: new
29 
Base class for all proxy items.
int unsigned idx
The index in the cl_syoscb_hash_item with that digest where the item is located.
Class which defines the base concept of a hash algorithm.
Proxy item implementation for hash queues.
cl_syoscb_hash_base< HASH_DIGEST_WIDTH >::tp_hash_digest digest
The digest for the hashed scoreboard 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
Doxygen Version: 1.8.14
Generated with IDV SV Filter Version: 2.6.3
Fri Sep 2 2022 14:39:32
Find a documentation bug? Report bugs to: scoreboard@syosil.com