-
Fully Specified Offset: This rule adheres to the
user-specified
offset
settings in the INTERFACE pragma. -
No-offset Specified: If
m_axi
offset 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_axilite
interface associated with them_axi
interface, this rule explicitly groups all them_axi
offsets into an AXI4-Lite interface adapter, for which the-m_axi_offset=slave
and 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_axilite
interface with them_axi
interface, this rule explicitly groups all them_axi
offsets into the tool default offset:-m_axi_offset=slave
void 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