J
John_H
Guest
"Nitesh" <nitesh.guinde@gmail.com> wrote in message
news:1138228419.957001.253480@z14g2000cwz.googlegroups.com...
memory space for the DMA destination. If the address and size can be fixed,
your task is simple. It's more likely that the memory allocation will be
dynamic and the host system has to communicate the FPGA in some fashion what
the address range is for the DMA. Then and only then should the FPGA do its
DMA. You can't move data to the host memory, after all, if the host is
executing out of the memory you're writing to. If the host allocates it,
the memory won't be used by the operating system or other devices.
news:1138228419.957001.253480@z14g2000cwz.googlegroups.com...
As stated before, the software on the host computer side needs to allocateLet me rephrase my question.
I have a fpga pci card with a dual pci bridge between the virtex II pro
and the pci bus of the host computer to which this card is connected.
The processor bus connects fpga with the bridge.
The dual pci bridge from tundra is dma capable. I have changed a core
(A processor bus master/slave) in the fpga to provide this dma
functionality. My aim is to transfer data from the fpga to the host
memory. I can provide the source address which is an address of a
location inside the fpga. Now my problem is that what should be the
destination address ? I have to send the data to the host RAM. Since
this address has to be pre decided before a transaction can begin how
can I get this value in the fpga so that I can program this from the
fpga.
memory space for the DMA destination. If the address and size can be fixed,
your task is simple. It's more likely that the memory allocation will be
dynamic and the host system has to communicate the FPGA in some fashion what
the address range is for the DMA. Then and only then should the FPGA do its
DMA. You can't move data to the host memory, after all, if the host is
executing out of the memory you're writing to. If the host allocates it,
the memory won't be used by the operating system or other devices.