-
No Global bundle configuration: The
global config option
config_interface -m_axi_auto_max_ports falsewill impact the bundle rules as follows:- Rule 1: User-specified Bundle Name:
- This rule explicitly groups all interface ports with
the same
bundle=<string>into the same AXI MAXI interface port and names the RTL port the value specified bym_axi_<string>.#pragma HLS INTERFACE m_axi port=a depth=50 bundle=terry #pragma HLS INTERFACE m_axi port=a depth=50 #pragma HLS INTERFACE m_axi port=a depth=50 Log file INFO: [RTGEN 206-500] Setting interface mode on port 'example/terry' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem0' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem1' to 'm_axi'.#pragma HLS INTERFACE m_axi port=a depth=50 bundle=terry #pragma HLS INTERFACE m_axi port=a depth=50 bundle=terry #pragma HLS INTERFACE m_axi port=a depth=50 bundle=terry Log file INFO: [RTGEN 206-500] Setting interface mode on port 'example/terry' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/terry' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/terry' to 'm_axi'. - Rule 2: Default Bundle Name:
- This rule explicitly groups all interface ports with no
bundle name into the same AXI interface port, and uses tool default
bundle=<default>, and names the RTL port<default>_m_axi.#pragma HLS INTERFACE m_axi port=a depth=50 #pragma HLS INTERFACE m_axi port=a depth=50 #pragma HLS INTERFACE m_axi port=a depth=50 Log file INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem0' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem0' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem0' to 'm_axi'.#pragma HLS INTERFACE m_axi port=a depth=50 bundle=terry #pragma HLS INTERFACE m_axi port=a depth=50 #pragma HLS INTERFACE m_axi port=a depth=50 Log file INFO: [RTGEN 206-500] Setting interface mode on port 'example/terry' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem0' to 'm_axi'. INFO: [RTGEN 206-500] Setting interface mode on port 'example/gmem0' to 'm_axi'.
-
Global Bundle Configuration: The global
config option
config_interface -m_axi_auto_max_ports truewill impact the bundle rules as follows.- This rule explicitly maps all the unspecified bundle
interface ports into individual different AXI MAXI interface ports and
names the RTL port sequentially as
gmem_0,geme_1,geme_2.
- This rule explicitly maps all the unspecified bundle
interface ports into individual different AXI MAXI interface ports and
names the RTL port sequentially as