If HLS is used in the Vitis flow, the tool will automatically set the following configurations.
open_solution -flow_target vitis
| Argument Type | Scalar | Pointer to an Array | Hls::stream | |||
|---|---|---|---|---|---|---|
| Interface Mode | Input | Return | I | I/O | O | I and O |
| ap_ctrl_none | ||||||
| ap_ctrl_hs | ||||||
| ap_ctrl_chain | D | |||||
| axis | D | |||||
| m_axi | D | D | D | |||
|
||||||
The AXI4-Lite slave interface directive will change the behavior of the interface pragmas as shown below.
config_interface -default_slave_interface s_axilite
| Argument Type | Scalar | Pointer to an Array | Hls::stream | |||
|---|---|---|---|---|---|---|
| Interface Mode | Input | Return | I | I/O | O | I and O |
| s_axi_lite | D | D | D | D | D | |
|
||||||
Note: These default interface
pragma settings can be overridden by a user-specified interface pragma.