Question

Hi

I am beginning my foray into FPGA design, and I decided that the best to to learn would be to learn on the go, and learn as I go.

I am using a Zybo Z7 7020, Windows 10, and Vivado 16.4

I have a project for school which will be using PMODs as IOs and the information will have to be saved to memory of the board

I am wondering if there is a good tutorial which will help me learn how to access, read and write to the DDR3

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Thanks @[email protected]

Is the standard way to access the DDR3 with the MIG on Vivado? Does Digilent offer its own solution?

I think my memory needs are simple. I want to implement a simple FIFO stack. Where is a good place for me to start to learn to do this?

Share this post


Link to post
Share on other sites
  • 0

@dgottesm,

This link has pictures.  :D

If your memory needs are simple, they can often be handled with block RAM.  You can declare block RAM within your design, and you will find it *exceptionally* easy to use and access.  The link above should discuss how to do a traditional FIFO in block RAM alone.  If, on the other hand, you need more block RAM memory than your chip has ... that's when you need to turn to the DDR3 solution.  I wouldn't touch it, though, if I only had a simple requirement.

Dan

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, [email protected] said:

... they can often be handled with block RAM. 

+1 for that. If possible, it'll save you a week, perform better and you maintain a board-independent design.

I'm sure there are lots of FIFO examples out there... Attached one I use. Expect e.g. around 150 MHz on speed grade 1 Artix, possibly faster.

Note, the memory is here ("inferred"):

reg [DATABITS-1:0] 	      mem[((1 << ADDRBITS)-1):0];

So there is no need to instantiate BRAM, it happens automatically.

FIFO.v

Edited by xc6lx45

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now