A base class which implements an “ID register” functionality. Each successive read() call retrieves the next value in a list. Upon reaching the end of the list, the first one is retrieved, repeating. The sequence of values read from this register is used as an ID.
| uvm_id_register | |||||||||||||||||
| A base class which implements an “ID register” functionality. | |||||||||||||||||
| Class Hierarchy | |||||||||||||||||
| |||||||||||||||||
| Class Declaration | |||||||||||||||||
| |||||||||||||||||
| Methods | |||||||||||||||||
| get_length() | Return the number of reads() that it will take to get all the data items read. | ||||||||||||||||
| id_write() | Call this function to append a new value to the id register. | ||||||||||||||||
| id_read() | Call this function to fetch or read the next value from the ID register. | ||||||||||||||||
| read_without_notify() | Re-implemented to affect our new ID register functionality. | ||||||||||||||||
| write_without_notify() | Re-implemented to affect our new ID register functionality. | ||||||||||||||||
virtual function int get_length()
Return the number of reads() that it will take to get all the data items read.
virtual function void id_write( T v )
Call this function to append a new value to the id register. id_write() is normally only called at system initialization time, since the ID values normally don’t change once set.
virtual function T id_read()
Call this function to fetch or read the next value from the ID register. Successive calls to id_read() return the successive elements in the ‘values’ array. When the end of the array is reached, we start over from the beginning.
function T read_without_notify(
Re-implemented to affect our new ID register functionality.
function void write_without_notify( T v,
Re-implemented to affect our new ID register functionality. Note: “writing” this register does NOT write a new value into the register. Instead, writing to this register actually updates (writes to) the pointer.
A base class which implements an “ID register” functionality.
class uvm_id_register #( type T = bit[31:0] ) extends uvm_register#(T)
Return the number of reads() that it will take to get all the data items read.
virtual function int get_length()
Call this function to append a new value to the id register.
virtual function void id_write( T v )
Call this function to fetch or read the next value from the ID register.
virtual function T id_read()
Re-implemented to affect our new ID register functionality.
function T read_without_notify(
Re-implemented to affect our new ID register functionality.
function void write_without_notify( T v,