Class uvm_pkg::uvm_vreg_field_cbs
Name |
Type |
Description |
---|---|---|
fname |
string |
|
lineno |
int |
Constructors
- new(string name = "uvm_vreg_field_cbs")
- Parameters:
name (string)
Tasks
- pre_write(uvm_vreg_field field, longint unsigned idx, uvm_reg_data_t wdat, uvm_path_e path, uvm_reg_map map)
Task
pre_write
Callback called before a write operation.
The registered callback methods are invoked before the invocation of the virtual register pre-write callbacks and after the invocation of the uvm_vreg_field::pre_write() method.
The written value wdat , access path and address map , if modified, modifies the actual value, access path or address map used in the register operation.
- Parameters:
field (uvm_vreg_field)
idx (longint unsigned)
wdat (uvm_reg_data_t)
path (uvm_path_e)
map (uvm_reg_map)
- post_write(uvm_vreg_field field, longint unsigned idx, uvm_reg_data_t wdat, uvm_path_e path, uvm_reg_map map, uvm_status_e status)
TASK
post_write
Called after a write operation
The registered callback methods are invoked after the invocation of the virtual register post-write callbacks and before the invocation of the uvm_vreg_field::post_write() method.
The status of the operation, if modified, modifies the actual returned status.
- Parameters:
field (uvm_vreg_field)
idx (longint unsigned)
wdat (uvm_reg_data_t)
path (uvm_path_e)
map (uvm_reg_map)
status (uvm_status_e)
- pre_read(uvm_vreg_field field, longint unsigned idx, uvm_path_e path, uvm_reg_map map)
TASK
pre_read
Called before a virtual field read.
The registered callback methods are invoked after the invocation of the virtual register pre-read callbacks and after the invocation of the uvm_vreg_field::pre_read() method.
The access path and address map , if modified, modifies the actual access path or address map used in the register operation.
- Parameters:
field (uvm_vreg_field)
idx (longint unsigned)
path (uvm_path_e)
map (uvm_reg_map)
- post_read(uvm_vreg_field field, longint unsigned idx, uvm_reg_data_t rdat, uvm_path_e path, uvm_reg_map map, uvm_status_e status)
TASK
post_read
Called after a virtual field read.
The registered callback methods are invoked after the invocation of the virtual register post-read callbacks and before the invocation of the uvm_vreg_field::post_read() method.
The readback value rdat and the status of the operation, if modified, modifies the actual returned readback value and status.
- Parameters:
field (uvm_vreg_field)
idx (longint unsigned)
rdat (uvm_reg_data_t)
path (uvm_path_e)
map (uvm_reg_map)
status (uvm_status_e)
Class
uvm_vreg_field_cbs
Pre/post read/write callback facade class