# Resources

Summary

Resources

## uvm_resource #(T)

Implementation of uvm_resource#(T) as defined in section C.2.5.1 of 1800.2-2017.

Summary

uvm_resource #(T)
Implementation of uvm_resource#(T) as defined in section C.2.5.1 of 1800.2-2017.
Methods |
read |
write |

### Methods

### read

>     function T read(uvm_object accessor = null);

This function is the implementation of the uvm_resource#(T)::read method detailed in IEEE1800.2-2017 section C.2.5.4.1

It calls uvm_resource_base::record_read_access before returning the value.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

### write

>     function void write(T t, uvm_object accessor = null);

This function is the implementation of the uvm_resource#(T)::write method detailed in IEEE1800.2-2017 section C.2.5.4.2

It calls uvm_resource_base::record_write_access before writing the value.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2