Class uvm_pkg::uvm_reg_read_only_cbs
Constructors
- new(string name = "uvm_reg_read_only_cbs")
- Parameters:
name (string)
Functions
- add(uvm_reg rg)
Function
add
Add this callback to the specified register and its contained fields.
- Parameters:
rg (uvm_reg)
- remove(uvm_reg rg)
Function
remove
Remove this callback from the specified register and its contained fields.
- Parameters:
rg (uvm_reg)
Tasks
- pre_write(uvm_reg_item rw)
Function
pre_write
Produces an error message and sets status to
. - Parameters:
rw (uvm_reg_item)
×
Class
uvm_reg_read_only_cbs
Pre-defined register callback method for read-only registers that will issue an error if a write() operation is attempted.