3.6.3.7 SHLS-17
(Ask a Question)Message
Info: (SHLS-17) Found user specified memory '{variable}' on {location}, with partition type: {partition_type_and_config}.
This message is generated for every user-specified memory partitioning request received by SmartHLS. However, it does not guarantee that the request will be successfully completed.
/***************************************************************** * This example is expected to result in * - Code : SHLS-17 * - Type : Info * - Cause : User-specified memory partitioning request identified *****************************************************************/ #pragma HLS memory partition variable(array_1) int array_1[100]; #pragma HLS memory partition variable(array_2) type(block) dim(1) factor(10) int array_2[100]; #pragma HLS memory partition variable(array_3) type(cyclic) dim(1) factor(5) int array_3[100]; void DUT( int v ) { #pragma HLS function top for (int i = 0; i < 100; i++) { array_1[i] *= 2; array_2[i] *= 2; array_3[i] *= 2; } }
Output
Info: (SHLS-17) Found user specified memory 'array_3' on line 12 of test.cpp, with partition type: Cyclic, partition dimension: 1, partition factor: 5.
Info: (SHLS-17) Found user specified memory 'array_2' on line 10 of test.cpp, with partition type: Block, partition dimension: 1, partition factor: 10.
Info: (SHLS-17) Found user specified memory 'array_1' on line 8 of test.cpp, with partition type: Complete, partition dimension: 0.
Related to: Memory Partitioning
