Altera_Forum
Honored Contributor
16 years agoHow to use OCT calibration for Cyclone III DDR SDRAM interface
I am using the High Performance Controller (HPC) to interface to a single DDR SDRAM located close to a Cyclone III FPGA and I am running at a 125 MHz memory clock speed. By default the HPC sets up the DDR IOs as SSTL-2 Class I and sets a current strength of 12mA for all the SDRAM pins.
This works ok but to make the interface more robust I would like to be able to use the Cyclone III OCT with calibration feature and set all the pins to 50 Ohms. However if I set OUTPUT_TERMINATION to "SERIES 50 OHM WITH CALIBRATION" for each SDRAM pin then the compilation fails with an error in the fitter of "Current Strength logic option is set to 12mA for pin ... but setting is not allowed with a Termination assignment" If I comment out the 12mA CURRENT_STRENGTH_NEW assigments then the compilation finishes but I get critical warnings from TimeQuest for some of the pins (DQ, DQS, DM, CK, CKN) of "Pin ... must have its Current Strength logic option set to 12mA instead of Default" and TimeQuest reckons that the timing requirements are not met with the HPC clock rate being "limited due to minimum port rate restriction (tmin)". So how can I get this to both compile and keep TimeQuest happy? Is it a simple matter of letting TimeQuest know somehow that the current strength is stronger than the default. Or is TimeQuest making a valid point and it is just not possible to run the RAM interface at 125MHz with a 50 Ohm impedance? Any help would be greatly appreciated.