SyoSil ApS UVM Scoreboard  1.0.3.0
cl_syoscb_proxy_item_base.svh
1 /// Base class for all proxy items. A proxy item is used to decouple the act of
2 /// iterating over a queue from the queue's implementation. Proxy items encode information
3 /// that specify where in a given queue a specific cl_syoscb_item can be found.
4 class cl_syoscb_proxy_item_base extends uvm_object;
5  protected cl_syoscb_queue_base queue;
6 
7  //-------------------------------------
8  // UVM Macros
9  //-------------------------------------
10  `uvm_object_utils_begin(cl_syoscb_proxy_item_base)
11  `uvm_field_object(queue, UVM_DEFAULT)
12  `uvm_object_utils_end
13 
14  //-------------------------------------
15  // Constructor
16  //-------------------------------------
17  function new(string name = "cl_syoscb_proxy_item_base");
18  super.new(name);
19  endfunction: new
20 
21  //-------------------------------------
22  // Item API
23  //-------------------------------------
24  extern virtual function cl_syoscb_item get_item();
25  extern virtual function void set_queue(cl_syoscb_queue_base queue);
26  extern virtual function cl_syoscb_queue_base get_queue();
27 
29 
30 /// <b>Item API:</b> Get the scoreboard item that this proxy item represents
31 /// \return That item
33  return this.queue.get_item(this);
34 endfunction: get_item
35 
36 /// <b>Item API:</b> Sets the queue that the referenced item belongs to
37 /// \param A handle to the queue
38 function void cl_syoscb_proxy_item_base::set_queue(cl_syoscb_queue_base queue);
39  this.queue = queue;
40 endfunction: set_queue
41 
42 /// <b>Item API:</b> Gets the queue that this proxy item depends on
43 /// \return A handle to that queue
45  return this.queue;
46 endfunction: get_queue
virtual cl_syoscb_queue_base get_queue()
Item API: Gets the queue that this proxy item depends on
The UVM scoreboard item which wraps uvm_sequence_item .
Base class for all proxy items.
virtual void set_queue(cl_syoscb_queue_base queue)
Item API: Sets the queue that the referenced item belongs to
virtual cl_syoscb_item get_item()
Item API: Get the scoreboard item that this proxy item represents
Class which represents the base concept of a queue.

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