cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
844 Views
Registered: ‎05-26-2018

How to write into a RAM by ARM with Vivado SDK

Hi,

 

I'm doing a project with this device: 'xc7z010clg400-1'. The objective is to write into a RAM by ARM. I've already did the VHDL part into Vivado with the processing system, bram controller and the rest of the components. Now I have to program the microprocessor in the Vivado SDK with c language. But I've never used it and I don´t know how it works. Could you please give me an example of how to program a RAM in this case?

 

 

Thank you in advantaged :)

0 Kudos
5 Replies
Highlighted
Mentor
Mentor
838 Views
Registered: ‎06-16-2013

Re: How to write into a RAM by ARM with Vivado SDK

Hi @arg02

 

What do you want to know ?

If you want to know address of BRAM, would you refer xparameters.h file in BSP or address map on Vivado ?

 

Best regards,

 

0 Kudos
Highlighted
Visitor
Visitor
829 Views
Registered: ‎05-26-2018

Re: How to write into a RAM by ARM with Vivado SDK

Hi,

 

I want to write an image into the RAM by the ARM and display it into a screen, I've already program how to display it in the screen, but I don´t know how to write it into the RAM of my design.

 

Thank you

0 Kudos
Highlighted
Mentor
Mentor
823 Views
Registered: ‎06-16-2013

Re: How to write into a RAM by ARM with Vivado SDK

Hi @arg02

 

Have you already implement HDMI or DisplayPort by digital interface or VGA output by analog interface on your FPGA ?

 

If no, would you consider how to implement like this IP ?

 

Best regards,

 

0 Kudos
Highlighted
Visitor
Visitor
821 Views
Registered: ‎05-26-2018

Re: How to write into a RAM by ARM with Vivado SDK

Hi,

 

Yes I've already implement a VGA_driver like in the photo and also I have the processing system, bram controller and everything. Now I have to program the microcontroller into Vivado SDK to write into the RAM.

 

Thank you in advance. :)

IMG_20180601_110034.jpg
0 Kudos
Highlighted
Mentor
Mentor
758 Views
Registered: ‎06-16-2013

Re: How to write into a RAM by ARM with Vivado SDK

Hi @arg02

 

What resolution do you want to output via analog RGB ?

I'm sure that you need to implement DRAM controller (ex. MIG) as frame buffer except VGA (640x480).

Because of internal BRAM is not enough memory as frame buffer.

 

Best regards,

0 Kudos