An AXI master that generates traffic according to a file for use in testbenches.
More...
#include <MasterFromFile.h>
template<typename T, bool enable>
class sc_in_conditional< T, enable >
An AXI master that generates traffic according to a file for use in testbenches.
- Template Parameters
-
axiCfg | A valid AXI config. |
enable_interrupts | Set true to enable support for interrupt instructions (default false) |
- Overview
- AxiMasterFromFile reads write and read requests from a CSV and issues them as an AXI master. Read responses are checked agains the expected values provided in the file. If enable_interrupts is true, the file can also specify a wait-for-interrupt mode in which the interrupt input must go high before further instructions are processed. The format of the CSV is as follows:
- Writes: delay_from_previous_request,W,address_in_hex,data_in_hex
- Reads: delay_from_previous_request,R,address_in_hex,expected_response_data_in_hex
Interrupts: delay_from_previous_request,Q,arbitrary,arbitrary
For reads, it's best to specify the full DATA_WIDTH of expected response data.
Definition at line 54 of file MasterFromFile.h.
The documentation for this class was generated from the following file: