Class uvm_analysis_port
class mon extends uvm_component;
uvm_analysis_port#(trans) ap;
function new(string name = "sb", uvm_component parent = null);
super.new(name, parent);
ap = new("ap", this);
endfunction
task run_phase(uvm_phase phase);
trans t;
...
ap.write(t);
...
endfunction
endclass
Name |
Default value |
Description |
---|---|---|
T |
int |
Constructors
- function new ( string name, uvm_component parent ) [source]
Functions
×
Broadcasts a value to all subscribers implementing a uvm_analysis_imp.