Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I didn't read all the posts but I would use the FPGA-to-SDRAM interface. So when the packets come in you can tell the FPGA logic where they live in SDRAM and let your video hardware access it directly. Just make sure cache coherency is maintained because you'll have multiple masters in the system touching this data (EMAC, FPGA, MPU) and accesses through the FPGA-to-SDRAM interface are *not* cache coherent with the MPU L1 and L2 caches. --- Quote End --- Sounds good, but how do you get the physical address of something in Linux. ie if I allocate some memory in Linux I get a pointer that's eg 0x65223000. Now I only have 1GB of Ram attached, so it's clearly not mapped from 0->3FFFFFFF. I assume there is some memory management going on, but how do I translate 0x65223000 to the actual address on the SDRAM?