Class uvm_pkg::uvm_vreg_cbs
- uvm_pkg :: uvm_void
Name |
Type |
Description |
---|---|---|
fname |
string |
|
lineno |
int |
Constructors
- new(string name = "uvm_reg_cbs")
- Parameters:
name (string)
Tasks
- pre_write(uvm_vreg rg, 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 after the invocation of the uvm_vreg::pre_write() method. All virtual register callbacks are executed after the corresponding virtual field callbacks The pre-write virtual register and field callbacks are executed before the corresponding pre-write memory callbacks
The written value wdat , access path and address map , if modified, modifies the actual value, access path or address map used in the virtual register operation.
- Parameters:
rg (uvm_vreg)
idx (longint unsigned)
wdat (uvm_reg_data_t)
path (uvm_path_e)
map (uvm_reg_map)
- post_write(uvm_vreg rg, 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 register write.
The registered callback methods are invoked before the invocation of the uvm_reg::post_write() method. All register callbacks are executed before the corresponding virtual field callbacks The post-write virtual register and field callbacks are executed after the corresponding post-write memory callbacks
The status of the operation, if modified, modifies the actual returned status.
- Parameters:
rg (uvm_vreg)
idx (longint unsigned)
wdat (uvm_reg_data_t)
path (uvm_path_e)
map (uvm_reg_map)
status (uvm_status_e)
- pre_read(uvm_vreg rg, longint unsigned idx, uvm_path_e path, uvm_reg_map map)
TASK
pre_read
Called before register read.
The registered callback methods are invoked after the invocation of the uvm_reg::pre_read() method. All register callbacks are executed after the corresponding virtual field callbacks The pre-read virtual register and field callbacks are executed before the corresponding pre-read memory callbacks
The access path and address map , if modified, modifies the actual access path or address map used in the register operation.
- Parameters:
rg (uvm_vreg)
idx (longint unsigned)
path (uvm_path_e)
map (uvm_reg_map)
- post_read(uvm_vreg rg, 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 register read.
The registered callback methods are invoked before the invocation of the uvm_reg::post_read() method. All register callbacks are executed before the corresponding virtual field callbacks The post-read virtual register and field callbacks are executed after the corresponding post-read memory callbacks
The readback value rdat and the status of the operation, if modified, modifies the actual returned readback value and status.
- Parameters:
rg (uvm_vreg)
idx (longint unsigned)
rdat (uvm_reg_data_t)
path (uvm_path_e)
map (uvm_reg_map)
status (uvm_status_e)
Class
uvm_vreg_cbs
Pre/post read/write callback facade class