Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15339 Discussions

Banking on higher dimensions

Honored Contributor II

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.
0 Kudos
0 Replies