uvm_scoreboard¶
- class uvm.comps.uvm_scoreboard.UVMScoreboard(name, parent)[source]¶
Bases:
UVMComponent
The
UVMScoreboard
class should be used as the base class for user-defined scoreboards.Deriving from
UVMScoreboard
will allow you to distinguish scoreboards from other component types inheriting directly fromUVMComponent
. Such scoreboards will automatically inherit and benefit from features that may be added toUVMScoreboard
in the future.- type_name = 'uvm_scoreboard'¶
- get_type_name()[source]¶
This function returns the type name of the object, which is typically the type identifier enclosed in quotes. It is used for various debugging functions in the library, and it is used by the factory for creating objects.
This function must be defined in every derived class.
A typical implementation is as follows:
class mytype (UVMObject): ... type_name = "mytype" def get_type_name(self): return my_type.type_name
We define the
type_name
static variable to enable access to the type name without need of an object of the class, i.e., to enable access via the scope operator, ~mytype::type_name~.- Returns
Type name of the object.
- Return type
- m_children_by_handle: Dict['UVMComponent', 'UVMComponent']¶
- m_children_ordered: List['UVMComponent']¶
- event_pool: UVMEventPool¶