axi4stream_slv_driver

AXI4STREAM Slave Driver Object. It receives TREADY transaction from the user enviroment and drives the TREADY signal if HAS_TREADY of the VIP is on, else TREADY is set to high all the time.

Information
class member

axi4stream_vif_proxy `XIL_AXI4STREAM_PARAM_ORDER vif_proxy; AXI4STREAM VIF Proxy Class.

xil_seq_item_pull_port #(axi4stream_transaction,axi4stream_transaction) seq_item_port; provides method to send transaction to axi4stream_slv_driver.

Functions
new

function new( |
input | string | name | = | "unnamed_axi4stream_slv_driver"
| );

Constructor to create a new axi4stream slave driver object

set_vif

function void set_vif( |
axi4stream_vif_proxy ` | XIL_AXI4STREAM_PARAM_ORDER | vif
| );

Assigns the virtual interface of the driver.

run_phase
virtual task run_phase();

Start control processes for operation

stop_phase
virtual task stop_phase();

Stops all control processes.

send_tready

task send_tready( |
input | axi4stream_ready_gen | t
| );

Send ready object to the driver when HAS_TREADY is on

create_ready

virtual function axi4stream_ready_gen create_ready ( |
string | name | = | "unnamed_ready"
| );

Returns Ready class that has been "newed"