Forum Discussion
kalamitas
New Contributor
3 years agoWriting to HPS memory from FPGA
Hello everyone,
I'm trying to build a system based on the CycloneV to make use of the FPGA for some calculations and use the results on the HPS.
So far I'm pretty sure I have figured out transfe...
tehjingy_Altera
Regular Contributor
3 years agoHi Kalimitas
After consulting a colleague , the example is able to work.
The HPS could read the values from OCR directly but you would need to make sure the data a sync between the FPGA and HPS before any side read or write the values.
There is this IP called cache coherency translator that could be used to accessed the OCR and it will maintain the coherency between both sides.
Unfortunately the IP is not available for Cyclone V.
However you could read the OCR through the Accelerated Coherency Port for Cyclone V
There is no reference design for accessing the ACP, but you could refer to the document below on the signals required and its description.
Regards
Jingyang, Teh
One way is to
Regards
Jingyang, Teh