AXI muckbucket
Public Member Functions | Public Attributes | List of all members
axi_agent Class Reference

Encapsulates driver, monitor, coverage collector, a local memory. More...

Inheritance diagram for axi_agent:
Inheritance graph
[legend]
Collaboration diagram for axi_agent:
Collaboration graph
[legend]

Public Member Functions

 uvm_component_utils (axi_agent) uvm_analysis_port< axi_seq_item > ap
 
 new (string name="axi_agent", uvm_component parent=null)
 Constructor. More...
 
void build_phase (uvm_phase phase)
 Create sub-components as configured. More...
 
void connect_phase (uvm_phase phase)
 

Public Attributes

axi_agent_config m_config
 
axi_driver m_driver
 
axi_responder m_responder
 
axi_monitor m_monitor
 
axi_scoreboard m_scoreboard
 
axi_sequencer m_seqr
 
axi_coveragecollector m_coveragecollector
 
memory m_memory
 

Detailed Description

Encapsulates driver, monitor, coverage collector, a local memory.

A configuration object, axi_agent_config contains all the information needed by this agent to:

Definition at line 39 of file axi_agent.svh.

Member Function Documentation

void axi_agent::build_phase ( uvm_phase  phase)

Create sub-components as configured.

Look for a config object,if one isn't found in the uvm_config_db then create one and use its defauls for configuring.

Definition at line 72 of file axi_agent.svh.

References axi_agent_config::drv_type, e_DRIVER, axi_agent_config::has_coverage, axi_agent_config::has_scoreboard, axi_driver::m_config, axi_responder::m_config, m_config, axi_monitor::m_config, m_coveragecollector, m_driver, axi_responder::m_memory, axi_driver::m_memory, axi_monitor::m_memory, m_memory, m_monitor, m_responder, m_scoreboard, and m_seqr.

void axi_agent::connect_phase ( uvm_phase  phase)
axi_agent::new ( string  name = "axi_agent",
uvm_component  parent = null 
)

Constructor.

Doesn't actually do anything except call parent constructor

Definition at line 63 of file axi_agent.svh.

axi_agent::uvm_component_utils ( axi_agent  )

Member Data Documentation

axi_agent_config axi_agent::m_config

Definition at line 44 of file axi_agent.svh.

Referenced by axi_env::build_phase(), build_phase(), and connect_phase().

axi_coveragecollector axi_agent::m_coveragecollector

Definition at line 51 of file axi_agent.svh.

Referenced by build_phase(), and connect_phase().

axi_driver axi_agent::m_driver

Definition at line 45 of file axi_agent.svh.

Referenced by build_phase(), and connect_phase().

memory axi_agent::m_memory

Local memory pointer. Can point to global if desired

Definition at line 52 of file axi_agent.svh.

Referenced by axi_env::build_phase(), and build_phase().

axi_monitor axi_agent::m_monitor

Definition at line 47 of file axi_agent.svh.

Referenced by build_phase(), and connect_phase().

axi_responder axi_agent::m_responder

Definition at line 46 of file axi_agent.svh.

Referenced by build_phase(), and connect_phase().

axi_scoreboard axi_agent::m_scoreboard

Definition at line 48 of file axi_agent.svh.

Referenced by build_phase(), and connect_phase().

axi_sequencer axi_agent::m_seqr

Definition at line 50 of file axi_agent.svh.

Referenced by build_phase(), axi_env::connect_phase(), and connect_phase().


The documentation for this class was generated from the following file: