VI SDRAM CONTROLLER BLOCK: SDRAM INTERFACE
VI-2 SDRAM INTERFACE
The SDRAM controller allows up to 32MB of SDRAM to be connected directly to areas 7 and 8 or areas 13 and
14.This chapter describes how to control the SDRAM interface, and how it operates. For the conditions and parameters used to configure the external bus except for the SDRAM interface, refer to Chapter
Outline of SDRAM Interface
The following shows the main features and specifications of the SDRAM interface.
•Supports 8 or
•Two SDRAM areas (areas 7 and 8 or areas 13 and 14)
The following SDRAM configuration (maximum) is possible, connected directly to each area.
-16M ⋅ 16 bits ⋅ 1 chip
-8M ⋅ 16 bits ⋅ 2 chips
-32M ⋅ 8 bits ⋅ 1 chip
-16M ⋅ 8 bits ⋅ 2 chips
•Supports 2 or
Row address range: | 2K |
Column address range: | 256 |
•Incorporates a programmable
The SDRAM can be refreshed as necessary, irrespective of the clock frequency used.
•Intelligent
•Two
- Precharge → | Refresh → Mode Register Set |
- Precharge → | Mode Register Set → Refresh |
•CAS latency: 2
•Burst length: Can be set to 1, 2, 4, or 8 words.
SDRAM Controller Block Diagram
Figure 2.1 shows the block diagram of the SDRAM controller. Note that the signals described in the figure are internal use, not external signals.
User logic signals |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||
|
| Data[15:0] |
|
|
|
|
|
|
|
|
| Bus |
|
|
|
|
|
|
|
|
|
| D[15:0] | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||
|
| Address[23:0] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| multiplex |
|
|
|
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| addr[23:0] |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
| Bus Size |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Bus Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Internal #CE6 |
|
|
|
|
|
| Bus command |
|
|
|
| Control |
|
|
|
|
|
|
|
|
|
| SDA[12:11], SDA[9:0] | |||
|
|
|
|
|
|
|
|
|
|
|
| registers |
|
|
|
|
|
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
Internal #CE7/13 |
|
|
|
|
|
|
|
|
|
|
|
| SDRAM |
|
|
|
|
| ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||
Internal #CE8/14 |
|
|
|
|
|
| decoder |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| command |
|
|
|
| SDA10, SDCKE, #SDCE0/1 | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
| SDRAM state |
|
|
| decoder |
|
|
|
| ||||||
|
| Internal #WAIT |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| #SDCAS, #SDRAS | ||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
| control |
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| #SDWE, HDQM, LDQM | ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Refresh
OSC3 clock
counter
Figure 2.1 SDRAM Controller Block Diagram
SDRAM
S1C33L03 FUNCTION PART | EPSON |