Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] DDR2 SDRAM controller(generated using MIG) for spartan 3A FPGA

Status
Not open for further replies.

sasi_badveli

Newbie level 6
Joined
May 23, 2011
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,361
Hello all,
I have few questions regarding CAS Latency. For example,if the DDR2 SDRAM consists of a CAS Latency of 4,and if the DDR2 SDRAM memory controller generated using MIG has a latency of 3? Does the design work together? Any help would be appreciated.

Thanks.
 

Hello all,
I have few questions regarding CAS Latency. For example,if the DDR2 SDRAM consists of a CAS Latency of 4,and if the DDR2 SDRAM memory controller generated using MIG has a latency of 3? Does the design work together? Any help would be appreciated.

Thanks.

In present, DDR2 CAS Latency is defined for a nominal data rate (DDRAM working data rate). If your design works with a frequency below maximum data rate your design could work properly for a different (lower) latency. The following formula should be respected:

1/Nominal frequency x CAS Latency (4) >= 1/Working frequency x CAS Latency

Example

DDR2-1066 with CL = 4 will work with systems with DDR2-667 with CL = 3
 
@cristianp: Thank you for the reply.

Can u explain for the following example? If the fpga used is (XC3S200A-4FTG256)spartan 3A and DDR2 SDRAM memory module is MT47H32M8BP-37E? I tried to generate a DDR2 memory controller using MIG tool.But it turns out that the MIG tool does not support latencies of 4 and 5. That is the problem.
 

From M**broken link removed** (first page) --> CAS Latency = 3 is supported for clock frequency 200MHz (DDR2-400).
So, if 200MHz clock frequency is enough for your design, you can use the generated memory controller that have CL=3
 

@cristianp:Thanks for the reply.

Can you please explain that in the memory module which i mentioned, in data sheet "-37E" refers to a latency of -4. Also in the micron website,

h**p://www.micron.com/parts/dram/ddr2-sdram/mt47h32m8bp-37e-it?source=ps&q=MT47H32M8BP-37E%20IT,

98_1331584280.png


Can a memory module support different latencies?
 

CAS Latency is a time. It specify the minimum time between a specific column addressing and data available to output. For synchronous RAM this time is done indirectly by using clock cycles.
Look on the same data sheet on the same page exist Table 1. It mention that this chip support different CAS Latency for different data rates. Note that during DDRAM configuration a CAS Latency of 3 in your case should be mentioned (in configuration word).
 
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top