I have an array of 2048-bits and i would want to store the incoming bits from 0 - 2047 in ascending bit order as it comes in FPGA on each rising edge of the clock cycle.
Eg:
array[0] <= 1st bit
array[1] <= 2nd bit
...
..
array[2047] <= 2048 th bit.
i know it can be done in VHDL by array indexing like
array(index) <= incoming_bit.
However, is there any other better approach like using bitwise operations (shifting) to achieve this. (without array indexing method), so that it eventually reduces the routing complexity in the FPGA.