# uvm_reg_field

This is an implementation of uvm_reg_field as described in 1800.2 with the addition of API described below.

Summary

uvm_reg_field
This is an implementation of uvm_reg_field as described in 1800.2 with the addition of API described below.
Methods |
set_rand_mode | Modifies the rand_mode for the field instance to the specified one
get_rand_mode | Returns the rand_mode of the field instance

### Methods

### set_rand_mode

> virtual function void set_rand_mode(
> | bit | rand_mode
> )

Modifies the rand_mode for the field instance to the specified one

@uvm-contrib This API is being considered for potential contribution to 1800.2

### get_rand_mode

> virtual function bit get_rand_mode()

Returns the rand_mode of the field instance

@uvm-contrib This API is being considered for potential contribution to 1800.2

> virtual function void set_rand_mode(
> | bit | rand_mode
> )

Modifies the rand_mode for the field instance to the specified one

> virtual function bit get_rand_mode()

Returns the rand_mode of the field instance