[OPAE] Main Memory Access from FPGA

David Nicuesa <david.nicuesa.aranda at gmail.com> Thu, 07 Feb 2019 15:53:02 +0100
Newsgroups dev.linux.lists.opae
Message-ID <CAAnQZJBuVbz3_uEBJKn9usy2expm_0JK28LfJSwAjh1a81+27g@mail.gmail.com>
--===============6862822363935140639==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Hi all,

I'm getting started with the examples, specifically with the hello_world
from the intel-fpga-bbb
<https://github.com/OPAE/intel-fpga-bbb/tree/master/samples/tutorial/01_hel=
lo_world>
repository.
Everything works just fine but I was wondering if it is possible for me to
access the Main Memory (Not IO) from the FPGA using the CCI protocol.

I have an rtl to sum two vectors, so my idea was to provide the addresses
for those two vectors from the software application, allocated in General
Purpose Memory. This way, ideally, the FPGA should be able to access those
vectors without having a shared buffer (MMIO).

Is it possible to do this, maybe using some MPF extension? In case this is
not feasible, I should allocate a shared buffer in MMIO space and then
comunicate the vectors through that buffer, right?

Thanks!

--===============6862822363935140639==
Content-Type: text/html
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="attachment.html"

PGRpdiBkaXI9Imx0ciI+SGkgYWxsLDxkaXY+PGJyPjwvZGl2PjxkaXY+SSYjMzk7bSBnZXR0aW5n
IHN0YXJ0ZWQgd2l0aCB0aGUgZXhhbXBsZXMsIHNwZWNpZmljYWxseSB3aXRoIHRoZSBoZWxsb193
b3JsZCBmcm9tIHRoZcKgPGEgaHJlZj0iaHR0cHM6Ly9naXRodWIuY29tL09QQUUvaW50ZWwtZnBn
YS1iYmIvdHJlZS9tYXN0ZXIvc2FtcGxlcy90dXRvcmlhbC8wMV9oZWxsb193b3JsZCI+aW50ZWwt
ZnBnYS1iYmI8L2E+wqByZXBvc2l0b3J5LiBFdmVyeXRoaW5nIHdvcmtzIGp1c3QgZmluZSBidXQg
SSB3YXMgd29uZGVyaW5nIGlmIGl0IGlzIHBvc3NpYmxlIGZvciBtZSB0byBhY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