Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16609 Discussions

Banking on higher dimensions

Altera_Forum
Honored Contributor II
887 Views

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
Reply