Class dv_utils_pkg::dv_vif_wrap
Name |
Type |
Description |
---|---|---|
hier |
string |
Represents the hierarchy of the parent module or interface. |
name |
string |
Name of the class instance. |
Constructors
- new(string hier, string name = "")
- Parameters:
hier (string)
name (string)
Tasks
- get_vifs()
Abstract method implemented by the extended class. It is recommended to invoke the helper macros below rather than manually define it.
×
Abstract class meant to hold arbitrary virtual interface handles.
Written primarily for an interface which implements functional coverage, this could be used for other purposes as well. This abstract class provides utilities & macros to retrieve virtual interface handles that are bound to a DUT's sub-modules. These sub-module interfaces must self-register using the
DV_VIF_WRAP_SET_VIF()
macro (see details below). The extended class then implements theget_vifs()
method using theDV_VIF_WRAP_GET_VIF*
macros below to retrieve the sub-module interface handles it maintains.