FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6583 Discussions

Agilex 7 emif ip questions

frankbarone
Beginner
144 Views

Hello,

I downloaded this document from your site, ug-ag-emi-683216-780962.pdf. All  my questions refer to this document. 

In here, on page 78, there is no information about the width of the address bus. Upon searching entire document, I saw that on page 315, it is mentioned that address bus is 31 bits wide.

But the example design has it as 29 bits wide. 

What is the width of address bus on the emif ip for agilex 7 ?  Is it 29 or 31?

Is there any documentation about address mapping between agilex 7 emif ip and a ddr4 dimm?

Is there any documentation which has waveforms and other details about reading and writing to this emif ip. I did not see such diagrams in this document. 

Your user guide has lot of room for improvement. Though there is lot of information, I could not find basic details about using the ip. 

Is there a better document than the one I am using?

Thank you, 

Frank

 

Labels (1)
0 Kudos
3 Replies
sstrell
Honored Contributor III
91 Views

The address bus width of the Avalon interface is as wide as needed to access the controller.  Page 323-324 of the document you mention (I had to find the document you mention; including links to documents helps in a forum) shows an example of address mapping but it depends on the Address Ordering parameter set when you parameterize the IP.

The interface is standard Avalon so you should just use the Avalon spec: https://www.intel.com/content/www/us/en/docs/programmable/683091/22-3/introduction-to-the-interface-specifications.html

0 Kudos
frankbarone
Beginner
76 Views
Thank you.
I will give you link to the document in future.

Please explain What you mean by “address bus is as long as controller needs” ?
Isn’t the width of the address bus a constant value for the emif controller ?
If not, what does the width of the address bus depend on? Is there an example anywhere?
I am to use emif controller. It did not occur to me to use Avalon user guide. Mentioning it in the user guid would help.
Could also answer my other question about read write request. I am asking again here -
Is there any example of sending read and write request to the memory controller and waveforms for the same? Though it is Avalon interface, how read and write request are sent depends on how memory controller handles them.
Thank you,
Frank
0 Kudos
sstrell
Honored Contributor III
72 Views

No, the address bus width may be different depending on the memory capacity and options chosen for the controller as mentioned.  I pointed you to one example of what the address bus might look like (pages 323-324).

Avalon is a known standard with Altera IP so I guess the user guide is assuming you know what it is.  Surprisingly, you're right, there is no link to the spec in the EMIF IP user guide.

The best way to understand how to issue commands to the controller IP is to generate the EMIF example design.  You can take the example design and use it as a starting point for your own and then just replace the traffic generator with your own design once you see how it works issuing requests to the IP.

0 Kudos
Reply