Analysis Ports¶
Analysis Ports
This section defines the port, export, and imp classes used for transaction analysis.
- class uvm.tlm1.uvm_analysis_port.UVMAnalysisPort(name, parent)[source]¶
Bases:
UVMPortBase
Broadcasts a value to all subscribers implementing a
UVMAnalysisImp
.class mon(UVMComponent): def __init__(self, name="sb", parent=None): super.new(name, parent) self.ap = UVMAnalysisPort("ap", self) async def run_phase(self, phase): t = None ... self.ap.write(t) ...
- class uvm.tlm1.uvm_analysis_port.UVMAnalysisExport(name, parent=None)[source]¶
Bases:
UVMPortBase
Exports a lower-level
UVMAnalysisImp
to its parent. Export can be used to avoid long hierarchical paths like top.env.agent.monitor.