|
APB UVM Agent
0.0.1
|
Collects basic functional coverage information observed by an APB agent. More...
Inheritance diagram for apb_coverage_monitor:
Collaboration diagram for apb_coverage_monitor:Public Member Functions | |
| uvm_component_utils (apb_coverage_monitor) | |
| covergroup | apb_cov () |
| Covers that both read and write transactions were observed. More... | |
| new (string name="apb_coverage_monitor", uvm_component parent=null) | |
| Conventional UVM component constructor. More... | |
| void | write (T t) |
| Samples coverage on the received transaction. More... | |
| void | report_phase (uvm_phase phase) |
| Reports collected coverage during the corresponding phase of UVM test execution. More... | |
Public Attributes | |
| apb_seq_item | analysis_txn |
| Transaction instance to be covered. More... | |
Collects basic functional coverage information observed by an APB agent.
An instance of the coverage monitor will be part of the agent only if its configuration knob, apb_agent_config::has_functional_coverage, is set.
The coverage monitor extends uvm_subscriber so it can be connected to apb_monitor.
Definition at line 30 of file apb_coverage_monitor.svh.
| covergroup apb_coverage_monitor::apb_cov | ( | ) |
Covers that both read and write transactions were observed.
Definition at line 42 of file apb_coverage_monitor.svh.
References analysis_txn, apb_seq_item::we, and write().
| apb_coverage_monitor::new | ( | string | name = "apb_coverage_monitor", |
| uvm_component | parent = null |
||
| ) |
Conventional UVM component constructor.
Definition at line 90 of file apb_coverage_monitor.svh.
References apb_cov().
| void apb_coverage_monitor::report_phase | ( | uvm_phase | phase | ) |
Reports collected coverage during the corresponding phase of UVM test execution.
| phase | Reference to the corresponding phase instance. |
Definition at line 100 of file apb_coverage_monitor.svh.
| apb_coverage_monitor::uvm_component_utils | ( | apb_coverage_monitor | ) |
| void apb_coverage_monitor::write | ( | T | t | ) |
Samples coverage on the received transaction.
This method implements the UVM subsciber's observe method.
| t | Transaction on which to sample the coverage. |
Definition at line 95 of file apb_coverage_monitor.svh.
References analysis_txn, and apb_cov().
Referenced by apb_cov().
| apb_seq_item apb_coverage_monitor::analysis_txn |
Transaction instance to be covered.
This merely a reference to the last transaction received from the APB monitor this coverage monitor instance connects to.
Definition at line 57 of file apb_coverage_monitor.svh.