SDRAM等常用component,关于共享,时钟等

http://www.altera.com/literature/ug/ug_embedded_ip.pdf

Synchronizing Clock and Data Signals
The clock for the SDRAM chip (SDRAM clock) must be driven at the same frequency 
as the clock for the Avalon-MM interface on the SDRAM controller (controller clock). 
As in all synchronous designs, you must ensure that address, data, and control signals 
at the SDRAM pins are stable when a clock edge arrives. As shown in Figure 2–1, you 
can use an on-chip phase-locked loop (PLL) to alleviate clock skew between the 
SDRAM controller core and the SDRAM chip. At lower clock speeds, the PLL might 
not be necessary. At higher clock rates, a PLL is necessary to ensure that the SDRAM 
clock toggles only when signals are stable on the pins. The PLL block is not part of the 
SDRAM controller core. If a PLL is necessary, you must instantiate it manually. You 
can instantiate the PLL core interface, which is an SOPC Builder component, or 
instantiate an ALTPLL megafunction outside the SOPC Builder system module.
If you use a PLL, you must tune the PLL to introduce a clock phase shift so that 
SDRAM clock edges arrive after synchronous signals have stabilized. See “Clock, PLL 
and Timing Considerations” on page 2–10 for details.

Clock Enable (CKE) Not Supported
The SDRAM controller does not support clock-disable modes. The SDRAM controller 
permanently asserts the CKE signal on the SDRAM.
Sharing Pins with Other Avalon-MM Tri-State Devices
If an Avalon-MM tri-state bridge is present in the SOPC Builder system, the SDRAM 
controller core can share pins with the existing tri-state bridge. In this case, the core’s 
addr, dq (data) and dqm (byte-enable) pins are shared with other devices connected to 
the Avalon-MM tri-state bridge. This feature conserves I/O pins, which is valuable in 
systems that have multiple external memory chips (for example, flash, SRAM, and 
SDRAM), but too few pins to dedicate to the SDRAM chip. See “Performance 
Considerations” for details about how pin sharing affects performance.
The SDRAM addresses must connect all address bits regardless of the size of the word
so that the low-order address bits on the tri-state bridge align with the low-order 
address bits on the memory device. The Avalon-MM tristate address signal always 
presents a byte address. It is not possible to drop A0 of the tri-state bridge for 
memories when the smallest access size is 16 bits or A0-A1 of the tri-state bridge when 
the smallest access size is 32 bits.

Board Layout and Pinout Considerations
When making decisions about the board layout and device pinout, try to minimize 
the skew between the SDRAM signals. For example, when assigning the device 
pinout, group the SDRAM signals, including the SDRAM clock output, physically 
close together. Also, you can use the Fast Input Register and Fast Output Register 
logic options in the Quartus II software. These logic options place registers for the 
SDRAM signals in the I/O cells. Signals driven from registers in I/O cells have similar 
timing characteristics, such as tCO, tSU, and tH. 

Hardware Design and Target Device 
The target device affects the maximum achievable clock frequency of a hardware 
design. Certain device families achieve higher fMAX performance than other families. 
Furthermore, within a device family, faster speed grades achieve higher performance. 
The SDRAM controller core can achieve 100 MHz in Altera’s high-performance 
device families, such as Stratix® series. However, the core might not achieve 100 MHz 
performance in all Altera device families.
The fMAX performance also depends on the SOPC Builder system design. The SDRAM 
controller clock can also drive other logic in the system module, which might affect 
the maximum achievable frequency. For the SDRAM controller core to achieve fMAX 
performance of 100 MHz, all components driven by the same clock must be designed 
for a 100 MHz clock rate, and timing analysis in the Quartus II software must verify 
that the overall hardware design is capable of 100 MHz operation. 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值