AXI4STREAM Slave agent. This class contains other components that comprise the entire Slave Verification component.These are the Monitor,Driver.Refer PG277 section about AXI4STREAM Slave Agent for more details.
axi4stream_slv_driver `XIL_AXI4STREAM_PARAM_ORDER driver;
axi4stream_monitor `XIL_AXI4STREAM_PARAM_ORDER monitor;
axi4stream_vif_proxy `XIL_AXI4STREAM_PARAM_ORDER vif_proxy;
axi4stream_slv_agent includes a monitor, a slave driver and vif_proxy. Please refer below picture for more details about axi4stream_slv_agent.
function new ( |
| ); |
Constructor to create an AXI4STREAM Slave Agent.~name~ is the instance name and axi4stream_vip_if is the interface in the design. Please see PG277 for how to find the interface in design hierarchy.
virtual function void set_verbosity( |
| ); |
Sets the verbosity of the Agent and all sub classes.If updated is bigger than 300, it will print out necessary log message. Refer xil_info for verbosity information.
function void set_vif( |
| ); |
Sets the Agent's virtual interface. This is the interface that will be monitored and/or driven.
virtual function void set_agent_tag( |
| ); |
Sets the tag of the Agent and all sub classes.If more than one VIPs(in slave mode) being used in the same testbench, User can use set_agent_tag with different tag to tell where exactly the log message comes from.
Enables the monitor in this agent to start collecting data.
Enables the monitor to start collecting data and driver starts to drive ready signal in axi4stream_slv_agent. The driver will only issue axi4stream_ready_gen when the send functions are called.
Disables the driver in axi4stream_slv_agent. Once disabled, no further action will occur by the drivers.
Disables the monitor in this agent from start collecting data. Once disabled, no further action will occur by the monitor.