Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- This isn't the right way if the "main memory" is also used for your software. The beginning of the memory is generally used for the exception vectors, and if you overwrite those you will crash the system. It is a lot safer to allocate a block of memory to use, either by using malloc() to allocate at run time, or by using a static or global table to allocate at compile time. --- Quote End --- Yes you are right but the reason for using directly baseaddress is, I have two DRAM controller on my FPGA board. The memory controller (We designed) can access read/write operation in parallel, that is why for comparison we are designing a baseline system (Nios system based) that can access both memories in parallel.