Forum Discussion
CAlex
Contributor
3 years agoHow to use on chip memory by HPS baremetal
Hi, it's based on CycloneV soc dev kit, the on chip memory was linked to H2F AXI(128bit wide). So I set the OCMemory as 128 bit and writeable RAM. In the HPS code I setup the FPGA image, openned ...
EBERLAZARE_I_Intel
Regular Contributor
3 years agoHi,
I see, is the example not fit on what you want for your design?
CAlex
Contributor
3 years agoYear,
1. I dont know whether OCRAM and OCMemory(RAM or ROM) FPGA IP are the same thing.
2. The example just scatter the code file to OCR(0xFFFF0000). But my FPGA IP address is 0xC0000000 + offset. I wonder whether can I just use memcpy(buffer,OCmemory,sizeof(buffer)) to send the buffer to this IP.