
SystemVerilog AXI3 and AXI4 Slave BFMs
execute_read_data_burst()
Mentor VIP AE AXI3/4 User Guide, V10.2b
83
September 2013
execute_read_data_burst()
This task executes a slave read data burst previously created by the create_slave_transaction()
function. The transaction can be blocking (default), or non-blocking, defined by the transaction
record operation_mode field.
It calls the execute_read_data_phase() task for each beat of the data burst, with the length of the
burst defined by the transaction burst_length field.
AXI3 Example
// Declare a local variable to hold the transaction record.
axi_transaction read_trans;
// Create a slave transaction and assign it to the local
// read_trans variable.
read_trans = bfm.create_slave_transaction();
....
// Execute the read_trans read data burst.
bfm.execute_read_data_burst(read_trans);
AXI4 Example
// Declare a local variable to hold the transaction record.
axi4_transaction read_trans;
// Create a slave transaction and assign it to the local
// read_trans variable.
read_trans = bfm.create_slave_transaction();
....
// Execute the read_trans read data burst.
bfm.execute_read_data_burst(read_trans);
Prototype
// * = axi | axi4
task automatic execute_read_data_burst
(
*_transaction trans
);
Arguments trans
The *_transaction record.
Returns
None
Commenti su questo manuale