Class uvm_set_get_dap_base
Name |
Default value |
Description |
---|---|---|
T |
int |
Name |
Actual Type |
Description |
---|---|---|
this_type |
Used for self references |
Constructors
Functions
- virtual function bit try_set ( int value ) [source]
Attempts to set the value contained within the resource.
If the DAP policies forbid setting at this time, then the method will return 0, however no errors will be reported. Otherwise, the method will return 1, and will be treated like a standard set call.
- virtual function bit try_get ( int value ) [source]
Attempts to retrieve the value contained within the resource.
If the DAP policies forbid retrieving at this time, then the method will return 0, however no errors will be reported. Otherwise, the method will return 1, and will be treated like a standard get call.
×
Provides the 'set' and 'get' interface for Data Access Policies (DAPs)
The 'Set/Get' base class simply provides a common interface for the various DAPs to implement. This provides a mechanism for consistent implementations of similar DAPs.