Method 1 for Write Transaction - 1.1 English

AXI Verification IP LogiCORE IP Product Guide (PG267)

Document ID
PG267
Release Date
2023-10-18
Version
1.1 English
For a write transaction, follow these steps:
  1. Create the transaction from the write driver of the master agent.
  2. Randomize the transaction.
  3. Send the transaction from the master agent write driver.
Important: The API sent here is non-blocking. By default, the driver does not return transaction information. If you want to receive transaction information back, the API, set_driver_return_item can be called and the related driver_return_item_policy can be called here.
wr_transaction = mst_agent.wr_driver.create_transaction("write transaction");
WR_TRANSACTION_FAIL_1b: assert(wr_transaction.randomize());
mst_agent.wr_driver.send(wr_transaction);