For a write transaction, follow these steps:
- Create the transaction from the write driver of the master agent.
- Randomize the transaction.
- 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_itemcan be called and the related
driver_return_item_policycan 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);