Showing results for 
Search instead for 
Did you mean: 

choose specific array elements from FIXED size array on FPGA

Have you set the size of the FP Control to be fixed?


Right-click the Array index ont he FP and choose "Set Size".



OK I see hte problem now.  The "Array Subset" does not GUARANTEE an array of 10 elements, it may be less if you try to access beyond the end of the array. This makes the following suggestion even more useful......

-End Edit-


You can't set the array to be inferred in Block RAM because you are addressing multiple elements simultaneously.  Change your logic to iterate through 10 elements one-by-one and THEN do whatever it is you need (only needing then to have storage for 10 elements instead of 7000).

0 Kudos
Message 11 of 11