Class uvm_analysis_imp
class sb extends uvm_component;
uvm_analysis_imp#(trans, sb) ap;
function new(string name = "sb", uvm_component parent = null);
super.new(name, parent);
ap = new("ap", this);
endfunction
function void write(trans t);
...
endfunction
endclass
Name |
Default value |
Description |
---|---|---|
T |
int |
|
IMP |
int |
Constructors
Functions
×
Receives all transactions broadcasted by a uvm_analysis_port. It serves as the termination point of an analysis port/export/imp connection. The component attached to the imp class--called a subscriber -- implements the analysis interface.
Will invoke the write(T) method in the parent component. The implementation of the write(T) method must not modify the value passed to it.