VI SDRAM CONTROLLER BLOCK: SDRAM INTERFACE

A-1

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 II-4, "BCU (Bus Control Unit)".

Outline of SDRAM Interface

The following shows the main features and specifications of the SDRAM interface.

Supports 8 or 16-bit SDRAM.

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 4-bank SDRAM (BA1 and BA0 outputs).

Row address range:

2K (A10–A0), 4K (A11–A0), or 8K (A12–A0)

Column address range:

256 (A7–A0), 512 (A8–A0), or 1K (A9–A0)

Incorporates a programmable 12-bit auto refresh counter.

The SDRAM can be refreshed as necessary, irrespective of the clock frequency used.

Intelligent self-refresh mode for low-power operation

Two power-up options:

- 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

B-VI

SDRAM

S1C33L03 FUNCTION PART

EPSON

B-VI-2-1