SyoSil ApS UVM Scoreboard  1.0.3.0
Public Member Functions | Private Attributes | List of all members
cl_syoscb_subscriber Class Reference

Generic subscriber for the scoreboard. More...

Inherits uvm_subscriber< uvm_sequence_item >, and uvm_subscriber< uvm_sequence_item >.

Public Member Functions

void write (uvm_sequence_item t)
 Implementation of the write method which must be implemented when extending uvm_subscriber.
 
virtual string get_queue_name ()
 Subscriber API: Returns the name of the queue which this subscriber is connected to.
 
virtual void set_queue_name (string qn)
 Subscriber API: Sets the name of the queue which this subscriber is connected to.
 
virtual string get_producer ()
 Subscriber API: Returns the name of the produer which this subscriber is connected to.
 
virtual void set_producer (string p)
 Subscriber API: Sets the name of the producer which this subscriber is connected to.
 
virtual void set_mutexed_add_item_enable (bit maie)
 Subscriber API: Controls whether items should be added in a mutexed fashion or not. More...
 

Private Attributes

string queue_name
 The name of the queue this subscriber writes data to.
 
string producer
 The name of the producer that this is subscribed to.
 
bit mutexed_add_item_enable = 0b0
 Whether to use mutexed add_item calls (1) or non-mutexed (0)
 

Detailed Description

Generic subscriber for the scoreboard.

It provides the write method for UVM monitors and utilizes the function based API of the scoreboard to insert the items received through the write method.

Definition at line 4 of file cl_syoscb_subscriber.svh.

Member Function Documentation

◆ set_mutexed_add_item_enable()

void cl_syoscb_subscriber::set_mutexed_add_item_enable ( bit  maie)
virtual

Subscriber API: Controls whether items should be added in a mutexed fashion or not.

Must be called during cl_syoscb::build_phase

Definition at line 98 of file cl_syoscb_subscriber.svh.

References mutexed_add_item_enable.

Referenced by cl_syoscb::build_phase().


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