Emif control registers – Sundance SMT395Q User Manual
Page 10

Version 1.0.7
Page 10 of 31
SMT395Q 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
.
The standard bootstrap will initialise these registers to use the following resources:
Memory space
(EMIF_A)
Resource Address
range
Internal program memory (1M)
0x00000000 - 0x000FFFFF
CE0
SDRAM (64Mbytes)
0x80000000 - 0x83FFFFFF
CE1
SDRAM (64Mbytes) DSP_A
only
0x90000000 - 0x93FFFFFF
CE2
Virtex-II
0xB0000000 - 0xBFFFFFFF
Memory space
(EMIF_B)
Resource Address
range
CE0
HPI of adjacent DSP
0x60000000 - 0x600000FF
CE1
2MB section of flash (DSP_A
only)
0x64000000 – 0x640FFFFF
CE2
FPGA PROG controls (DSP_A
only). Write to this address to
assert PROG and clear the
FPGA configuration.
0x68000000
CE3
FPGA CCLK control (DSP_A
only)
0x6C000000
The boot code sets-up the EMIF as follows:
GCTLB = 0x0001277C;
CECTL0A = 0x000000D0;
CECTL1A = 0x000000D0;
CECTL2A = 0xFFFFFF23
CECTL3A = 0x00000030;
SDCTRLA = 0x53227000;
CECTL0B = 0x10d20415;