-
Fully Specified Offset: This rule adheres to the
user-specified
offsetsettings in the INTERFACE pragma. -
No-offset Specified: If
m_axioffset is not specified in the INTERFACE pragma, the global config option:config_interface -m_axi_offset <off/direct/slave>will impact the offset rules.-
Rule 1: User-specified SAXI Lite:
When the INTERFACE pragma specifies an
s_axiliteinterface associated with them_axiinterface, this rule explicitly groups all them_axioffsets into an AXI4-Lite interface adapter, for which the-m_axi_offset=slaveand the-default_slave_interface=s_axilite.void top(int *a) { #pragma HLS interface mode=m_axi port=a #pragma HLS interface mode=s_axilite port=a } -
Rule 2: No SAXI LITE: When the
INTERFACE pragma does not associate an
s_axiliteinterface with them_axiinterface, this rule explicitly groups all them_axioffsets into the tool default offset:-m_axi_offset=slavevoid top(int *a, int *b) { #pragma HLS interface mode=m_axi port=a bundle=M0 #pragma HLS interface mode=m_axi port=b bundle=M0 }
-
Rule 1: User-specified SAXI Lite:
When the INTERFACE pragma specifies an