- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Good day to you.
I need to write a VHDL code to perform a write to DDR4 in Agilex 7. I know that I need to bring up the EMIF IP for use. But within the VHDL code itself, how to call out the EMIF to ask it to perform a write operation?
I tried to create a project in Quartus Prime Pro (with license), with HPS with EMIF. Through Platform Designer, I can save and generate. Then at the Quartus side, I can see the generated VHDL code. I can also do all the pin assignments with all the pins. I can also successfully compile my code and see an .sof file created in the output folder.
But, how can I perform a write to the DDR4 in the generated VHDL code? Do you know where I can find the sample code?
Hope to hear from you soon.
Regards
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
To add on to my previous query, I created a standalone EMIF project also.
I saw that it generated these 3 files,
ed_synth_emif_fm_0.vhd
ed_synth_emif_cal.vhd
ed_synth_inst.vhd
Can someone please show me how to use either all these files or any one of these files to perform a write / read operation to DDR4?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Thank you for submitting your question in Intel Community.
I'm Adzim, application engineer will assist you in this case.
You need a module that can communicate with the memory controller (EMIF IP) to act as a driver or traffic generator.
This driver should provide the required signal to memory controller in order to perform the memory transaction.
You may refer to Avalon Interface Specifications that provide some details about the avalon transfer: https://www.intel.com/content/www/us/en/docs/programmable/683091/22-3/transfers.html
You also can refer to EMIF example design that can be generated from Quartus.
You can refer to the link below on how to create an EMIF example design.
Regards,
Adzim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As we do not receive any response from you on the previous reply that we have provided, I now transition this thread to community support. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page