Hi all,
I have a 2D array like this:int x8];
I want AOC to bank the memory on the upper (bolded) dimension. By default, AOC only banks on the lowest dimension, which is not what I want. I have tried using attributes like so: int x __attribute__((bank_bits(5,4,3),bankwidth(32)));
But AOC complains that bank bits 4 and 5 exceed the address width of [2:0]. I have been following the example for bank_bits given in the Intel OpenCL for FPGA Best Practices Guide. I suspect this is some kind of dumb mistake on my part, but I can't see the problem so far. Any help would be appreciated.
Link Copied
For more complete information about compiler optimizations, see our Optimization Notice.