Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

SDRAM DQ groups on custom PCB

ESaiv
New Contributor I
904 Views

Hello. 

In a custom PCB, I have my SDRAM DQ groups assigned like shown in the photo, with the first DQ group being assigned to DQ[8..16], not DQ[0..7]. 

Is it required that in order to interface with external SDRAM, my groups start at [0..7]? I suspect this is the case, based on what I read and interpreted in the second screenshot attached, taken from the Cyclone pin description document. 

Thanks!

0 Kudos
3 Replies
ESaiv
New Contributor I
896 Views

Note, however, that my screenshot above says that it must start at [0] for the Hard Memory PHY, but elsewhere in the document when it references just using "external memory," it does not state the same necessity to start at [0]. What is the difference between using the hard memory PHY and just using external memory (SDRAM)?

0 Kudos
sstrell
Honored Contributor III
888 Views

The HPS in Cyclone V includes its own hard memory controller as opposed to the soft and hard memory controller options on the FPGA side of the device.  Using the HPS hard controller, as you are, is recommended for performance for the HPS.  But yes, you should be starting from 0 with it.

0 Kudos
ESaiv
New Contributor I
882 Views

Okay, thanks. Yes, I am starting from [8] which isn't in accordance with the pin description guide for the Cyclone V HPS hard memory PHY, hence why it is probably not working. 

0 Kudos
Reply