Emif control registers – Sundance SMT395 User Manual

Page 10

Advertising
background image

Version 1.1.7

Page 10 of 26

SMT395 User Manual

EMIF Control Registers

The C6416 has two external memory interfaces (EMIFs). One of these is 64 bits
wide, the other 16 bits.

The C60 contains several registers that control the external memory interfaces
(EMIFs). A full description of these registers can be found in the C60 Peripherals
Reference Guide[0]
.

The standard bootstrap will initialise these registers to use the following
resources:

Memory space

(EMIFA)

Resource Address

range

Internal program memory
(1M)

0x00000000 - 0x000FFFFF

CE0 SDRAM

(256M)

0x80000000 - 0x8FFFFFFF

CE1

Virtex

0x90000000 - 0x900FFFFF

Memory space

(EMIFB)

Resource Address

range

CE1

8Mbyte flash in 4 pages.

Page selected with GPIO9
and GPIO10

0x64000000 – 0x641FFFFF

CE2

Any access asserts FPGA
PROG line

0x68000000 – 0x641FFFFF

CE3

A write programs data bit
D0 serially in the FPGA and
make a CCLK edge.

0x68000000 – 0x641FFFFF

The boot code sets-up the EMIF as follows:

GBCTLA = 0x0001277C ;

CECTL0A = 0x000000D0;

CECTL1A = 0x000000A0;

SDCTRLA = 0x6A227000;

CECTL1B = 0xFFFFFF13;

CECTL2B = 0xFFFFFF23;

CECTL3B = 0x105FFF23;

SDEXTA = 0x00017F3F

Advertising