Class uvm_pkg::uvm_reg_backdoor
Name |
Type |
Description |
---|---|---|
fname |
string |
|
lineno |
int |
Constructors
- new(string name = "")
Function
new
Create an instance of this class
Create an instance of the user-defined backdoor class for the specified register or memory
- Parameters:
name (string)
Functions
- read_func(uvm_reg_item rw)
Function
read_func
User-defined backdoor read operation.
Peek the current value in the HDL implementation. Returns the current value and an indication of the success of the operation. Read_func
- Parameters:
rw (uvm_reg_item)
- is_auto_updated(uvm_reg_field field)
Function
is_auto_updated
Indicates if wait_for_change() method is implemented
Implement to return TRUE if and only if wait_for_change() is implemented to watch for changes in the HDL implementation of the specified field. Is_auto_updated
- Parameters:
field (uvm_reg_field)
- start_update_thread(uvm_object element)
Start_update_thread
- Parameters:
element (uvm_object) --
Local
- kill_update_thread(uvm_object element)
Kill_update_thread
- Parameters:
element (uvm_object) --
Local
- has_update_threads()
Has_update_threadslocal
Tasks
- write(uvm_reg_item rw)
Task
write
User-defined backdoor write operation.
Call do_pre_write(). Deposit the specified value in the specified register HDL implementation. Call do_post_write(). Returns an indication of the success of the operation. Write
- Parameters:
rw (uvm_reg_item)
- read(uvm_reg_item rw)
Task
read
User-defined backdoor read operation.
Overload this method only if the backdoor requires the use of task.
Call do_pre_read(). Peek the current value of the specified HDL implementation. Call do_post_read(). Returns the current value and an indication of the success of the operation.
By default, calls read_func(). Read
- Parameters:
rw (uvm_reg_item)
- pre_read(uvm_reg_item rw)
Task
pre_read
Called before user-defined backdoor register read.
The registered callback methods are invoked after the invocation of this method.
- Parameters:
rw (uvm_reg_item)
- post_read(uvm_reg_item rw)
Task
post_read
Called after user-defined backdoor register read.
The registered callback methods are invoked before the invocation of this method.
- Parameters:
rw (uvm_reg_item)
- pre_write(uvm_reg_item rw)
Task
pre_write
Called before user-defined backdoor register write.
The registered callback methods are invoked after the invocation of this method.
The written value, if modified, modifies the actual value that will be written.
- Parameters:
rw (uvm_reg_item)
- post_write(uvm_reg_item rw)
Task
post_write
Called after user-defined backdoor register write.
The registered callback methods are invoked before the invocation of this method.
- Parameters:
rw (uvm_reg_item)
Class
uvm_reg_backdoor
Base class for user-defined back-door register and memory access.
This class can be extended by users to provide user-specific back-door access to registers and memories that are not implemented in pure SystemVerilog or that are not accessible using the default DPI backdoor mechanism.