Forum Discussion
Altera_Forum
Honored Contributor
13 years agoRemember your C.
Accesses via pointers and array indexing are interchangeable. So buffer[n] is absolutely equivalent to *(buffer + n) and to n[buffer] for that matter! Although your SDRAM chip might be 4M by 16bits, it will be accessed as 2M by 32bits. All this also assumes that you code is running from the fpga's internal memory blocks, if your program (etc) is loaded into the SDRAM you will be overwriting your code.